deprecated_overflow_gateway.../socket_handler.go
crusader 8299f95f4c ing
2017-08-31 19:08:14 +09:00

18 lines
404 B
Go

package overflow_gateway_websocket
import "time"
// SocketHandler is configuration of the websocket server
type SocketHandler interface {
GetMaxMessageSize() int64
GetWriteTimeout() time.Duration
GetReadTimeout() time.Duration
GetPongTimeout() time.Duration
GetPingTimeout() time.Duration
GetPingPeriod() time.Duration
IsBinaryMessage() bool
GetProtocolHandler() ProtocolHandler
Validate()
}