class HAR::WebSocketMessage

Included Modules

Defined in:

har/websocket_message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, time : Float64, opcode : Int32, data : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def data : String #

The data passed over the websocket message.


[View source]
def data=(data : String) #

The data passed over the websocket message.


[View source]
def opcode : Int32 #

Websocket message operation code.


[View source]
def opcode=(opcode : Int32) #

Websocket message operation code.


[View source]
def time : Float64 #

Timing it took to send/receive the message.


[View source]
def time=(time : Float64) #

Timing it took to send/receive the message.


[View source]
def type : String #

Type of the message (send/receive).


[View source]
def type=(type : String) #

Type of the message (send/receive).


[View source]