#include <anch_rest_nginx.h>
Public Attributes | |
| anch_rest_str_t | method |
| anch_rest_str_t | target |
| const anch_rest_header_t * | headers |
| size_t | headers_count |
| int | has_body |
| anch_rest_body_reader_t | body |
Request: memory is owned by the module and valid during handle call
| anch_rest_body_reader_t anch_rest_request_t::body |
Body reader (when has_body is set)
| int anch_rest_request_t::has_body |
Request has a body (possibly empty)
| const anch_rest_header_t* anch_rest_request_t::headers |
Headers
| size_t anch_rest_request_t::headers_count |
Number of headers
| anch_rest_str_t anch_rest_request_t::method |
Method (GET , ...)
| anch_rest_str_t anch_rest_request_t::target |
Request target: encoded path and query (/pets?limit=10 )