Enable WebSocket compression when available

This commit is contained in:
Trevor Slocum 2024-09-12 14:14:23 -07:00
parent 6ce77b607b
commit 44acef5d22

View file

@ -15,6 +15,7 @@ import (
var acceptOptions = &websocket.AcceptOptions{
InsecureSkipVerify: true,
CompressionMode: websocket.CompressionContextTakeover,
}
var _ bgammon.Client = &webSocketClient{}