diff --git a/server/server_handlers.go b/server/server_handlers.go index cad540a..882855a 100644 --- a/server/server_handlers.go +++ b/server/server_handlers.go @@ -31,7 +31,7 @@ type serverHandlers struct { ctx context.Context } -func (h *serverHandlers) OnConnection(ctx *fasthttp.RequestCtx) bool { +func (h *serverHandlers) OnConnect(ctx *fasthttp.RequestCtx) bool { return true }