centrifugal / centrifuge

Real-time messaging library for Go. The simplest way to add feature-rich and scalable WebSocket support to your application. The core of Centrifugo server.

Home Page:https://pkg.go.dev/github.com/centrifugal/centrifuge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write a test for disconnect with custom code

FZambia opened this issue · comments

A follow-up improvement after regression in v0.11.0 – we have to check that client receives close code after closing connection with custom disconnect code on server side inside websocket message handler.