Functions | |
io_t * | request_io (request_t *rq) |
Get the io_t object associated with a request object. | |
http_t * | request_get_http (request_t *rq) |
Get the HTTP server handle of a request. | |
addr_t * | request_get_addr (request_t *rq) |
Return the local address. | |
addr_t * | request_get_peer_addr (request_t *rq) |
Return the peer address. | |
header_t * | request_get_header (request_t *rq) |
Return the header object. | |
field_t * | request_get_field (request_t *rq, const char *name) |
Get an header field. | |
const char * | request_get_field_value (request_t *rq, const char *name) |
Get the value of an header field. | |
const char * | request_get_client_request (request_t *rq) |
Return the client request line. | |
const char * | request_get_uri (request_t *rq) |
Get the URI field of a request. | |
const char * | request_get_protocol (request_t *rq) |
Get the protocol used by the client request. | |
const char * | request_get_filename (request_t *rq) |
Get the filename field of a request. | |
const char * | request_get_resolved_filename (request_t *rq) |
Get resolved filename of a request. | |
const char * | request_get_query_string (request_t *rq) |
Get the query string field of a request. | |
const char * | request_get_path_info (request_t *rq) |
Get the path info field of a request. | |
const char * | request_get_resolved_path_info (request_t *rq) |
Get the resolved path info of a request. | |
int | request_get_method (request_t *rq) |
Get the method of a request. | |
ssize_t | request_get_content_length (request_t *rq) |
Get the content length of a request. | |
time_t | request_get_if_modified_since (request_t *rq) |
Get IMS field of a request. | |
int | request_is_encoding_accepted (request_t *rq, const char *encoding) |
vars_t * | request_get_uploads (request_t *rq) |
Get uploaded files. | |
vars_t * | request_get_args (request_t *rq) |
Get request arguments. | |
const char * | request_get_arg (request_t *rq, const char *name) |
Get a request argument. | |
vars_t * | request_get_cookies (request_t *rq) |
Get the cookies list. | |
const char * | request_get_cookie (request_t *rq, const char *name) |
Get the value of a cookie named name . |
|
Return the I/O object (
|
|
Get the
|
|
Return the IP address and port of the server end of the socket
|
|
Return the IP address and port of the client connected to the web server
|
|
Return the header object
|
|
Return the header field named
Definition at line 1766 of file request.c. References header_get_field(). |
|
Return the value of an header field named
Definition at line 1784 of file request.c. References header_get_field_value(). |
|
Return the client request (METHOD URI HTTP/HTTP_VERSION)
|
|
Return the string value of the URI in request
|
|
Return the protocol of request
|
|
Return the string value of the filename field in request
|
|
Return a string representing the resolved filename of request
|
|
Return the query string field of request
|
|
Return the path info field of request
|
|
Return a string representing the resolved path info of request
|
|
Return the method of request
Definition at line 1504 of file request.c. References HM_UNKNOWN. |
|
Retrieve a size_t corresponding to the Content-Length field of request
|
|
Return the
|
|
Return the list of uploaded files. Any var_t in the list will contain, within its name/value pair, the name of the HTML form input tag "name" argument and the filename (with full path) of the temporary file where uploaded content has been stored. This function is only useful to enumerate uploads,
|
|
Return get/post arguments of request
|
|
Return the string value of argument
Definition at line 250 of file request.c. References var_get_value(), and vars_get(). |
|
Return a
|
|
Return the value of a cookie sent by the browser
Definition at line 210 of file request.c. References var_get_value(), and vars_get(). |