Enable WebSocket compression when available
This commit is contained in:
parent
6ce77b607b
commit
44acef5d22
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ import (
|
|||
|
||||
var acceptOptions = &websocket.AcceptOptions{
|
||||
InsecureSkipVerify: true,
|
||||
CompressionMode: websocket.CompressionContextTakeover,
|
||||
}
|
||||
|
||||
var _ bgammon.Client = &webSocketClient{}
|
||||
|
|
Loading…
Reference in a new issue