class

HAR::WebSocketMessage

Inherits JSON::Serializable < Reference < Object

Constructors

new(type : String, time : Float64, opcode : Int32, data : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data

The data passed over the websocket message.

Source
data=(data : String)

The data passed over the websocket message.

Source
opcode

Websocket message operation code.

Source
opcode=(opcode : Int32)

Websocket message operation code.

Source
time

Timing it took to send/receive the message.

Source
time=(time : Float64)

Timing it took to send/receive the message.

Source
type

Type of the message (send/receive).

Source
type=(type : String)

Type of the message (send/receive).

Source