WS upgrade no returning error.

This commit is contained in:
Miroslav Šedivý
2021-03-16 10:45:22 +01:00
parent 971e3bff4e
commit 58d029f455
3 changed files with 26 additions and 12 deletions

View File

@ -15,5 +15,5 @@ type WebSocketManager interface {
Start()
Shutdown() error
AddHandler(handler HandlerFunction)
Upgrade(w http.ResponseWriter, r *http.Request, checkOrigin CheckOrigin) error
Upgrade(w http.ResponseWriter, r *http.Request, checkOrigin CheckOrigin)
}