Class: DS9::Option
- Inherits:
-
Data
- Object
- Data
- DS9::Option
- Defined in:
- ext/ds9/ds9_option.c
Instance Method Summary collapse
- #set_builtin_recv_extension_type(size) ⇒ Object
- #set_max_deflate_dynamic_table_size(size) ⇒ Object
- #set_max_reserved_remote_streams(size) ⇒ Object
- #set_max_send_header_block_length(size) ⇒ Object
- #set_no_auto_ping_ack ⇒ Object
- #set_no_auto_window_update ⇒ Object
- #set_no_closed_streams ⇒ Object
- #set_no_http_messaging ⇒ Object
- #set_no_recv_client_magic ⇒ Object
- #set_peer_max_concurrent_streams(size) ⇒ Object
- #set_user_recv_extension_type(size) ⇒ Object
Instance Method Details
#set_builtin_recv_extension_type(size) ⇒ Object
65 66 67 68 69 70 71 72 73 |
# File 'ext/ds9/ds9_option.c', line 65
static VALUE option_set_builtin_recv_extension_type(VALUE self, VALUE size)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_builtin_recv_extension_type(option, NUM2INT(size));
return self;
}
|
#set_max_deflate_dynamic_table_size(size) ⇒ Object
75 76 77 78 79 80 81 82 83 |
# File 'ext/ds9/ds9_option.c', line 75
static VALUE option_set_max_deflate_dynamic_table_size(VALUE self, VALUE size)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_max_deflate_dynamic_table_size(option, NUM2INT(size));
return self;
}
|
#set_max_reserved_remote_streams(size) ⇒ Object
95 96 97 98 99 100 101 102 103 |
# File 'ext/ds9/ds9_option.c', line 95
static VALUE option_set_max_reserved_remote_streams(VALUE self, VALUE size)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_max_reserved_remote_streams(option, NUM2INT(size));
return self;
}
|
#set_max_send_header_block_length(size) ⇒ Object
85 86 87 88 89 90 91 92 93 |
# File 'ext/ds9/ds9_option.c', line 85
static VALUE option_set_max_send_header_block_length(VALUE self, VALUE size)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_max_send_header_block_length(option, NUM2INT(size));
return self;
}
|
#set_no_auto_ping_ack ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'ext/ds9/ds9_option.c', line 14
static VALUE option_set_no_auto_ping_ack(VALUE self)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_no_auto_ping_ack(option, 1);
return self;
}
|
#set_no_auto_window_update ⇒ Object
24 25 26 27 28 29 30 31 32 |
# File 'ext/ds9/ds9_option.c', line 24
static VALUE option_set_no_auto_window_update(VALUE self)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_no_auto_window_update(option, 1);
return self;
}
|
#set_no_closed_streams ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'ext/ds9/ds9_option.c', line 34
static VALUE option_set_no_closed_streams(VALUE self)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_no_closed_streams(option, 1);
return self;
}
|
#set_no_http_messaging ⇒ Object
44 45 46 47 48 49 50 51 52 |
# File 'ext/ds9/ds9_option.c', line 44
static VALUE option_set_no_http_messaging(VALUE self)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_no_http_messaging(option, 1);
return self;
}
|
#set_no_recv_client_magic ⇒ Object
54 55 56 57 58 59 60 61 62 |
# File 'ext/ds9/ds9_option.c', line 54
static VALUE option_set_no_recv_client_magic(VALUE self)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_no_recv_client_magic(option, 1);
return self;
}
|
#set_peer_max_concurrent_streams(size) ⇒ Object
105 106 107 108 109 110 111 112 113 |
# File 'ext/ds9/ds9_option.c', line 105
static VALUE option_set_peer_max_concurrent_streams(VALUE self, VALUE size)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_peer_max_concurrent_streams(option, NUM2INT(size));
return self;
}
|
#set_user_recv_extension_type(size) ⇒ Object
115 116 117 118 119 120 121 122 123 |
# File 'ext/ds9/ds9_option.c', line 115
static VALUE option_set_user_recv_extension_type(VALUE self, VALUE size)
{
nghttp2_option *option;
TypedData_Get_Struct(self, nghttp2_option, &ds9_option_type, option);
nghttp2_option_set_user_recv_extension_type(option, NUM2INT(size));
return self;
}
|