- 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 () |