Module: DS9

Defined in:
lib/ds9.rb,
lib/ds9/version.rb,
ext/ds9/ds9.c

Defined Under Namespace

Modules: Frames, Settings Classes: Callbacks, Client, Exception, Option, Server, Session, UninitializedException

Constant Summary collapse

VERSION =
'1.4.1'
PROTO_VERSION_ID =
rb_str_new(NGHTTP2_PROTO_VERSION_ID, NGHTTP2_PROTO_VERSION_ID_LEN)
ERR_WOULDBLOCK =
INT2NUM(NGHTTP2_ERR_WOULDBLOCK)
ERR_EOF =
INT2NUM(NGHTTP2_ERR_EOF)
ERR_DEFERRED =
INT2NUM(NGHTTP2_ERR_DEFERRED)
ERR_BAD_CLIENT_MAGIC =
INT2NUM(NGHTTP2_ERR_BAD_CLIENT_MAGIC)
NO_ERROR =
INT2NUM(NGHTTP2_NO_ERROR)
DEFAULT_WEIGHT =
INT2NUM(NGHTTP2_DEFAULT_WEIGHT)
MAX_WEIGHT =
INT2NUM(NGHTTP2_MAX_WEIGHT)
MIN_WEIGHT =
INT2NUM(NGHTTP2_MIN_WEIGHT)
MAX_WINDOW_SIZE =
INT2NUM(NGHTTP2_MAX_WINDOW_SIZE)
INITIAL_WINDOW_SIZE =
INT2NUM(NGHTTP2_INITIAL_WINDOW_SIZE)
INITIAL_CONNECTION_WINDOW_SIZE =
INT2NUM(NGHTTP2_INITIAL_CONNECTION_WINDOW_SIZE)
DEFAULT_HEADER_TABLE_SIZE =
INT2NUM(NGHTTP2_DEFAULT_HEADER_TABLE_SIZE)
CLIENT_MAGIC =
rb_str_new(NGHTTP2_CLIENT_MAGIC, NGHTTP2_CLIENT_MAGIC_LEN)

Class Method Summary collapse

Class Method Details

.nghttp_versionObject


998
999
1000
1001
1002
1003
# File 'ext/ds9/ds9.c', line 998

static VALUE rb_nghttp_version(VALUE klass)
{
    nghttp2_info * info = nghttp2_version(0);

    return rb_usascii_str_new2(info->version_str);
}