Class: DS9::Frames::Frame
- Inherits:
-
Data
- Object
- Data
- DS9::Frames::Frame
show all
- Defined in:
- lib/ds9.rb,
ext/ds9/ds9_frames.c
Defined Under Namespace
Modules: Flags
Classes: Header
Instance Method Summary
collapse
Instance Method Details
#continuation? ⇒ Boolean
23
|
# File 'lib/ds9.rb', line 23
def continuation?; false; end
|
#data? ⇒ Boolean
16
|
# File 'lib/ds9.rb', line 16
def data?; false; end
|
#end_stream? ⇒ Boolean
25
26
27
|
# File 'lib/ds9.rb', line 25
def end_stream?
flags & Flags::END_STREAM > 0
end
|
#flags ⇒ Object
79
80
81
82
83
84
85
|
# File 'ext/ds9/ds9_frames.c', line 79
static VALUE frame_flags(VALUE self)
{
nghttp2_frame *frame;
TypedData_Get_Struct(self, nghttp2_frame, &ds9_frame_type, frame);
return INT2NUM(frame->hd.flags);
}
|
#goaway? ⇒ Boolean
21
|
# File 'lib/ds9.rb', line 21
def goaway?; false; end
|
95
96
97
98
99
100
101
|
# File 'ext/ds9/ds9_frames.c', line 95
static VALUE frame_header(VALUE self)
{
nghttp2_frame *frame;
TypedData_Get_Struct(self, nghttp2_frame, &ds9_frame_type, frame);
return WrapDS9FrameHeader((nghttp2_frame_hd *)frame);
}
|
15
|
# File 'lib/ds9.rb', line 15
def ; false; end
|
#length ⇒ Object
10
11
12
|
# File 'lib/ds9.rb', line 10
def length
.length
end
|
#ping? ⇒ Boolean
20
|
# File 'lib/ds9.rb', line 20
def ping?; false; end
|
#priority? ⇒ Boolean
18
|
# File 'lib/ds9.rb', line 18
def priority?; false; end
|
#push_promise? ⇒ Boolean
17
|
# File 'lib/ds9.rb', line 17
def push_promise?; false; end
|
#rst_stream? ⇒ Boolean
19
|
# File 'lib/ds9.rb', line 19
def rst_stream?; false; end
|
#settings? ⇒ Boolean
14
|
# File 'lib/ds9.rb', line 14
def settings?; false; end
|
#stream_id ⇒ Object
63
64
65
66
67
68
69
|
# File 'ext/ds9/ds9_frames.c', line 63
static VALUE frame_stream_id(VALUE self)
{
nghttp2_frame *frame;
TypedData_Get_Struct(self, nghttp2_frame, &ds9_frame_type, frame);
return INT2NUM(frame->hd.stream_id);
}
|
#type ⇒ Object
71
72
73
74
75
76
77
|
# File 'ext/ds9/ds9_frames.c', line 71
static VALUE frame_type(VALUE self)
{
nghttp2_frame *frame;
TypedData_Get_Struct(self, nghttp2_frame, &ds9_frame_type, frame);
return INT2NUM(frame->hd.type);
}
|
#window_update? ⇒ Boolean
22
|
# File 'lib/ds9.rb', line 22
def window_update?; false; end
|