SocketProtocol

final case class SocketProtocol(subprotocols: Option[String], handshakeTimeoutMillis: Long, forceCloseTimeoutMillis: Long, handleCloseFrames: Boolean, sendCloseFrame: WebSocketCloseStatus, dropPongFrames: Boolean, decoderConfig: SocketDecoder)

Server side websocket configuration

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def clientBuilder: Builder
def serverBuilder: Builder

Close frame to send, when close frame was not send manually.

Close frame to send, when close frame was not send manually.

Close frame to send, when close frame was not send manually.

Close frame to send, when close frame was not send manually.

def withForceCloseTimeout(duration: Duration): SocketProtocol

Close the connection if it was not closed by the client after timeout specified

Close the connection if it was not closed by the client after timeout specified

Close frames should be forwarded

Close frames should be forwarded

Pong frames should be forwarded

Pong frames should be forwarded

def withHandshakeTimeout(duration: Duration): SocketProtocol

Handshake timeout in mills

Handshake timeout in mills

Used to specify the websocket sub-protocol

Used to specify the websocket sub-protocol

Inherited methods

Inherited from:
Product