Class: DS9::Frames::Goaway
- Inherits:
-
Frame
- Object
- Data
- Frame
- DS9::Frames::Goaway
show all
- Defined in:
- lib/ds9.rb,
ext/ds9/ds9_frames.c
Constant Summary
collapse
- NO_ERROR =
INT2NUM(NGHTTP2_NO_ERROR)
- PROTOCOL_ERROR =
INT2NUM(NGHTTP2_PROTOCOL_ERROR)
- INTERNAL_ERROR =
INT2NUM(NGHTTP2_INTERNAL_ERROR)
- FLOW_CONTROL_ERROR =
INT2NUM(NGHTTP2_FLOW_CONTROL_ERROR)
- SETTINGS_TIMEOUT =
INT2NUM(NGHTTP2_SETTINGS_TIMEOUT)
- STREAM_CLOSED =
INT2NUM(NGHTTP2_STREAM_CLOSED)
- FRAME_SIZE_ERROR =
INT2NUM(NGHTTP2_FRAME_SIZE_ERROR)
- REFUSED_STREAM =
INT2NUM(NGHTTP2_REFUSED_STREAM)
- CANCEL =
INT2NUM(NGHTTP2_CANCEL)
- COMPRESSION_ERROR =
INT2NUM(NGHTTP2_COMPRESSION_ERROR)
- CONNECT_ERROR =
INT2NUM(NGHTTP2_CONNECT_ERROR)
- ENHANCE_YOUR_CALM =
INT2NUM(NGHTTP2_ENHANCE_YOUR_CALM)
- INADEQUATE_SECURITY =
INT2NUM(NGHTTP2_INADEQUATE_SECURITY)
- HTTP_1_1_REQUIRED =
INT2NUM(NGHTTP2_HTTP_1_1_REQUIRED)
Instance Method Summary
collapse
Methods inherited from Frame
#continuation?, #data?, #end_stream?, #flags, #header, #headers?, #length, #ping?, #priority?, #push_promise?, #rst_stream?, #settings?, #stream_id, #type, #window_update?
Instance Method Details
#error_code ⇒ Object
119
120
121
122
123
124
125
|
# File 'ext/ds9/ds9_frames.c', line 119
static VALUE goaway_error_code(VALUE self)
{
nghttp2_frame *frame;
TypedData_Get_Struct(self, nghttp2_frame, &ds9_frame_type, frame);
return INT2NUM(frame->goaway.error_code);
}
|
#goaway? ⇒ Boolean
38
|
# File 'lib/ds9.rb', line 38
def goaway?; true; end
|
#last_stream_id ⇒ Object
111
112
113
114
115
116
117
|
# File 'ext/ds9/ds9_frames.c', line 111
static VALUE goaway_last_stream_id(VALUE self)
{
nghttp2_frame *frame;
TypedData_Get_Struct(self, nghttp2_frame, &ds9_frame_type, frame);
return INT2NUM(frame->goaway.last_stream_id);
}
|