ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
HttpVars Struct Reference

#include <http.h>

Public Attributes

uint8_t slot
 the connection every call names
 
int code
 the status code a lookup names
 
Handler cb
 the handler a request runs when no route matched
 
HttpMethodArgs method_args
 a method, as an enum or as a token
 
HttpRouteArgs route_args
 the target a route is matched against
 
HttpAllowArgs allow
 the Allow list an append builds
 
proto_bool ok
 
const char * text
 
HttpMethod method_of
 

Detailed Description

Definition at line 90 of file http.h.

Member Data Documentation

◆ slot

uint8_t HttpVars::slot

the connection every call names

Definition at line 92 of file http.h.

◆ code

int HttpVars::code

the status code a lookup names

Definition at line 93 of file http.h.

◆ cb

Handler HttpVars::cb

the handler a request runs when no route matched

Definition at line 94 of file http.h.

◆ method_args

HttpMethodArgs HttpVars::method_args

a method, as an enum or as a token

Definition at line 95 of file http.h.

◆ route_args

HttpRouteArgs HttpVars::route_args

the target a route is matched against

Definition at line 96 of file http.h.

◆ allow

HttpAllowArgs HttpVars::allow

the Allow list an append builds

Definition at line 97 of file http.h.

◆ ok

proto_bool HttpVars::ok

Definition at line 101 of file http.h.

◆ text

const char* HttpVars::text

Definition at line 102 of file http.h.

◆ method_of

HttpMethod HttpVars::method_of

Definition at line 103 of file http.h.


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