AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch_rest_request_t Struct Reference

#include <anch_rest_nginx.h>

Collaboration diagram for anch_rest_request_t:

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

Detailed Description

Request: memory is owned by the module and valid during handle call

Member Data Documentation

◆ body

anch_rest_body_reader_t anch_rest_request_t::body

Body reader (when has_body is set)

◆ has_body

int anch_rest_request_t::has_body

Request has a body (possibly empty)

◆ headers

const anch_rest_header_t* anch_rest_request_t::headers

Headers

◆ headers_count

size_t anch_rest_request_t::headers_count

Number of headers

◆ method

anch_rest_str_t anch_rest_request_t::method

Method (GET , ...)

◆ target

anch_rest_str_t anch_rest_request_t::target

Request target: encoded path and query (/pets?limit=10 )


The documentation for this struct was generated from the following file: