SocketProtocol

zio.http.socket.SocketProtocol
See theSocketProtocol companion object
final case class SocketProtocol(subprotocols: Option[String], handshakeTimeoutMillis: Long, forceCloseTimeoutMillis: Long, handleCloseFrames: Boolean, sendCloseFrame: WebSocketCloseStatus, dropPongFrames: Boolean, decoderConfig: SocketDecoder)

Server side websocket configuration

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

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

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

Attributes

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

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

Attributes

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

Attributes

Close frames should be forwarded

Close frames should be forwarded

Attributes

Pong frames should be forwarded

Pong frames should be forwarded

Attributes

Handshake timeout in mills

Handshake timeout in mills

Attributes

Used to specify the websocket sub-protocol

Used to specify the websocket sub-protocol

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product