#include <request.h>
◆ method
| const char* KlRequest::method |
◆ method_len
| size_t KlRequest::method_len |
◆ path
| const char* KlRequest::path |
◆ path_len
| size_t KlRequest::path_len |
◆ query
| const char* KlRequest::query |
◆ query_len
| size_t KlRequest::query_len |
◆ version_major
| int KlRequest::version_major |
◆ version_minor
| int KlRequest::version_minor |
◆ keep_alive
| int KlRequest::keep_alive |
1 if connection is keep-alive.
◆ name
| const char* KlRequest::name |
◆ name_len
| size_t KlRequest::name_len |
◆ value
| const char* KlRequest::value |
◆ value_len
| size_t KlRequest::value_len |
◆ [struct]
◆ num_headers
| int KlRequest::num_headers |
Number of parsed headers.
◆ content_length
| size_t KlRequest::content_length |
◆ chunked
1 if Transfer-Encoding: chunked.
◆ body_reader
Set by connection layer, NULL if no body.
◆ ctx
Opaque per-request context, set by middleware.
◆ params
Matched route parameters.
◆ num_params
| int KlRequest::num_params |
Number of matched route parameters.
◆ _server_ctx
| void* KlRequest::_server_ctx |
Opaque — set to KlConn* by connection layer (do not modify).
The documentation for this struct was generated from the following file: