Class: Libevent::HttpRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/libevent/http_request.rb,
ext/libevent_ext/http_request.c

Instance Method Summary collapse

Constructor Details

#initializeObject


7
# File 'ext/libevent_ext/http_request.c', line 7

static VALUE t_initialize(VALUE self);

Instance Method Details

#add_output_headerObject


35
# File 'ext/libevent_ext/http_request.c', line 35

static VALUE t_add_output_header(VALUE self, VALUE key, VALUE value);

#clear_output_headersObject


39
# File 'ext/libevent_ext/http_request.c', line 39

static VALUE t_clear_output_headers(VALUE self);

#get_bodyObject


29
# File 'ext/libevent_ext/http_request.c', line 29

static VALUE t_get_body(VALUE self);

#get_commandObject


15
# File 'ext/libevent_ext/http_request.c', line 15

static VALUE t_get_command(VALUE self);

#get_hostObject


25
# File 'ext/libevent_ext/http_request.c', line 25

static VALUE t_get_host(VALUE self);

#get_http_versionObject


13
# File 'ext/libevent_ext/http_request.c', line 13

static VALUE t_get_http_version(VALUE self);

#get_input_headersObject


27
# File 'ext/libevent_ext/http_request.c', line 27

static VALUE t_get_input_headers(VALUE self);

#get_remote_hostObject


9
# File 'ext/libevent_ext/http_request.c', line 9

static VALUE t_get_remote_host(VALUE self);

#get_remote_portObject


11
# File 'ext/libevent_ext/http_request.c', line 11

static VALUE t_get_remote_port(VALUE self);

#get_uriObject


17
# File 'ext/libevent_ext/http_request.c', line 17

static VALUE t_get_uri(VALUE self);

#get_uri_pathObject


21
# File 'ext/libevent_ext/http_request.c', line 21

static VALUE t_get_uri_path(VALUE self);

#get_uri_queryObject


23
# File 'ext/libevent_ext/http_request.c', line 23

static VALUE t_get_uri_query(VALUE self);

#get_uri_schemeObject


19
# File 'ext/libevent_ext/http_request.c', line 19

static VALUE t_get_uri_scheme(VALUE self);

#send_errorObject


33
# File 'ext/libevent_ext/http_request.c', line 33

static VALUE t_send_error(VALUE self, VALUE code, VALUE reason);

#send_replyObject


31
# File 'ext/libevent_ext/http_request.c', line 31

static VALUE t_send_reply(VALUE self, VALUE code, VALUE headers, VALUE body);

#send_reply_chunkObject


45
# File 'ext/libevent_ext/http_request.c', line 45

static VALUE t_send_reply_chunk(VALUE self, VALUE chunk);

#send_reply_endObject


47
# File 'ext/libevent_ext/http_request.c', line 47

static VALUE t_send_reply_end(VALUE self);

#send_reply_startObject


43
# File 'ext/libevent_ext/http_request.c', line 43

static VALUE t_send_reply_start(VALUE self, VALUE code, VALUE reason);

#set_output_headersObject


37
# File 'ext/libevent_ext/http_request.c', line 37

static VALUE t_set_output_headers(VALUE self, VALUE headers);