class

Sellia::Protocol::Messages::WebSocketClose

Inherits Sellia::Protocol::Message / MessagePack::Serializable / Reference / Object

Bidirectional: WebSocket connection closed

Constructors

Bidirectional: WebSocket connection closed

Source
new(request_id : String, code : UInt16 | Nil = nil, reason : String | Nil = nil)
Source

Instance methods

code
Source
code=(code : UInt16 | Nil)
Source
reason
Source
reason=(reason : String | Nil)
Source
request_id
Source
request_id=(request_id : String)
Source
type

Abstract method that each message type must implement

Source
type=(type : String)
Source