Class: Mfp::StreamEvent

Inherits:
Data
  • Object
show all
Defined in:
lib/mfp/event.rb

Overview

StreamEvent is delivered when a STREAM frame is received on a connection. Payload contains the raw frame payload, already decompressed if compression was negotiated. StreamID is always non-zero.

Instance Attribute Summary collapse

Instance Attribute Details

#payloadObject (readonly)

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



7
8
9
# File 'lib/mfp/event.rb', line 7

def payload
  @payload
end

#stream_idObject (readonly)

Returns the value of attribute stream_id

Returns:

  • (Object)

    the current value of stream_id



7
8
9
# File 'lib/mfp/event.rb', line 7

def stream_id
  @stream_id
end