Class: DS9::Frames::PushPromise
- Inherits:
-
Frame
- Object
- Data
- Frame
- DS9::Frames::PushPromise
show all
- Defined in:
- lib/ds9.rb,
ext/ds9/ds9_frames.c
Instance Method Summary
collapse
Methods inherited from Frame
#continuation?, #data?, #end_stream?, #flags, #goaway?, #header, #headers?, #length, #ping?, #priority?, #rst_stream?, #settings?, #stream_id, #type, #window_update?
Instance Method Details
#promised_stream_id ⇒ Object
87
88
89
90
91
92
93
|
# File 'ext/ds9/ds9_frames.c', line 87
static VALUE promised_stream_id(VALUE self)
{
nghttp2_frame *frame;
TypedData_Get_Struct(self, nghttp2_frame, &ds9_frame_type, frame);
return INT2NUM(frame->push_promise.promised_stream_id);
}
|
#push_promise? ⇒ Boolean
58
|
# File 'lib/ds9.rb', line 58
def push_promise?; true; end
|