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

RFC 9110 sec 7.1 request target: the route pattern, and the path tested against it. More...

#include <http.h>

Public Attributes

const char * route
 the route path a match tests
 
proto_bool is_wildcard
 that route ends in a trailing star
 
const char * path
 the request path a match tests against
 
HttpReq * req
 the request a param capture writes into
 

Detailed Description

RFC 9110 sec 7.1 request target: the route pattern, and the path tested against it.

Definition at line 45 of file http.h.

Member Data Documentation

◆ route

const char* HttpRouteArgs::route

the route path a match tests

Definition at line 47 of file http.h.

◆ is_wildcard

proto_bool HttpRouteArgs::is_wildcard

that route ends in a trailing star

Definition at line 48 of file http.h.

◆ path

const char* HttpRouteArgs::path

the request path a match tests against

Definition at line 49 of file http.h.

◆ req

HttpReq* HttpRouteArgs::req

the request a param capture writes into

Definition at line 50 of file http.h.


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