Example #1
0
File: ws.go Project: guest6379/gost
func WebsocketServerConn(conn *websocket.Conn) *WebsocketConn {
	conn.EnableWriteCompression(true)
	return &WebsocketConn{
		conn: conn,
	}
}