A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
Loading...
Searching...
No Matches
a11::net::HttpRequest Struct Reference

A parsed HTTP/2 request: pseudo-headers, fields, and body. More...

#include <cpp/a11/net/http2.h>

Public Attributes

std::string method
 HTTP method pseudo-header.
 
std::string protocol
 Extended CONNECT protocol, if present.
 
std::string scheme
 Request scheme pseudo-header.
 
std::string authority
 Target authority/host.
 
std::string path
 Request path and query.
 
HttpHeaders headers
 Normal application headers.
 
std::string body
 Fully buffered body for an ordinary request.
 
std::shared_ptr< Http2RequestBodyStreambody_stream
 Pull stream for an open extended CONNECT request, otherwise null.
 

Detailed Description

A parsed HTTP/2 request: pseudo-headers, fields, and body.

body_stream is present only for a request that remains open after its headers (an extended CONNECT stream).

Member Data Documentation

◆ authority

std::string a11::net::HttpRequest::authority

Target authority/host.

◆ body

std::string a11::net::HttpRequest::body

Fully buffered body for an ordinary request.

◆ body_stream

std::shared_ptr<Http2RequestBodyStream> a11::net::HttpRequest::body_stream

Pull stream for an open extended CONNECT request, otherwise null.

◆ headers

HttpHeaders a11::net::HttpRequest::headers

Normal application headers.

◆ method

std::string a11::net::HttpRequest::method

HTTP method pseudo-header.

◆ path

std::string a11::net::HttpRequest::path

Request path and query.

◆ protocol

std::string a11::net::HttpRequest::protocol

Extended CONNECT protocol, if present.

◆ scheme

std::string a11::net::HttpRequest::scheme

Request scheme pseudo-header.


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