Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportClosing ¶
ReportClosing sends close to client then closes connection
func UpgradeToWebsocket ¶
func UpgradeToWebsocket(request *restful.Request, response *restful.Response) (*websocket.Conn, error)
UpgradeToWebsocket attempts to upgrade connection from HTTP(S) to WS(S)
func WriteOnlyWebsocket ¶
func WriteOnlyWebsocket(connection *websocket.Conn, b *broadcaster.Broadcaster)
WriteOnlyWebsocket discards text messages from the peer connection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.