Class

WEBrick::HTTPResponse

Inheritance
< Object

Constants

Name   Description
BUFSIZE = 1024*4

Attributes

Name Visibility R/W Description
body public RW
config public R
cookies public R
filename public RW
header public R
http_version public R
keep_alive public RW
reason_phrase public RW
request_http_version public RW
request_method public RW
request_uri public RW
sent_size public R
status public R

Methods

Class

Visibility Signature
public new (config)

Instance

Visibility Signature
public [] (field)
public []= (field, value)
public chunked= (val)
public chunked? ()
public content_length ()
public content_length= (len)
public content_type ()
public content_type= (type)
public each () {|k, v| ...}
public keep_alive? ()
public send_body (socket)
public send_header (socket)
public send_response (socket)
public set_error (ex, backtrace=false)
public set_redirect (status, url)
public setup_header ()
public status= (status)
public status_line ()
public to_s ()

Class Method Detail

new(config)

Instance Method Detail

[](field)

[]=(field, value)

chunked=(val)

chunked?()

content_length()

content_length=(len)

content_type()

content_type=(type)

each() {|k, v| ...}

keep_alive?()

send_body(socket)

send_header(socket)

send_response(socket)

set_error(ex, backtrace=false)

set_redirect(status, url)

setup_header()

status=(status)

status_line()

to_s()