|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
A response the server sent without being asked (HTTP/2 server push). More...
#include <cpp/a11/net/http2.h>
Public Attributes | |
| std::string | method |
| Method of the promised request. | |
| std::string | scheme |
| Scheme of the promised request. | |
| std::string | authority |
| Authority of the promised request. | |
| std::string | path |
| Path and query of the promised request. | |
| HttpHeaders | headers |
| Header fields of the promised request. | |
| std::shared_ptr< Http2ResponseStream > | response |
| The pushed response: its own head, body, and trailers. | |
A response the server sent without being asked (HTTP/2 server push).
The PUSH_PROMISE pseudo-headers describe the request. response carries its response and is read like any other. Calling Cancel() on response resets the pushed stream and stops the transfer.
Reachable only when Http2Options::enable_push was set on the connection.
| std::string a11::net::HttpPushedResponse::authority |
Authority of the promised request.
| HttpHeaders a11::net::HttpPushedResponse::headers |
Header fields of the promised request.
| std::string a11::net::HttpPushedResponse::method |
Method of the promised request.
| std::string a11::net::HttpPushedResponse::path |
Path and query of the promised request.
| std::shared_ptr<Http2ResponseStream> a11::net::HttpPushedResponse::response |
The pushed response: its own head, body, and trailers.
| std::string a11::net::HttpPushedResponse::scheme |
Scheme of the promised request.