struct Protocol::Network::DataReceived
- Protocol::Network::DataReceived
- Struct
- Value
- Object
Overview
Fired when data chunk was received over the network.
Included Modules
- JSON::Serializable
- Protocol::Event
Defined in:
protocol/network.crConstructors
Instance Method Summary
-
#data_length : Int::Primitive
Data chunk length.
-
#encoded_data_length : Int::Primitive
Actual bytes received (might be less than dataLength for compressed encodings).
-
#request_id : RequestId
Request identifier.
-
#timestamp : MonotonicTime
Timestamp.
Constructor Detail
Instance Method Detail
def encoded_data_length : Int::Primitive
#
Actual bytes received (might be less than dataLength for compressed encodings).