Fully buffered final response; informational responses are consumed, 3xx is returned unchanged, and body bytes are not decompressed.
More...
#include <StormByte/network/http/client.hxx>
Fully buffered final response; informational responses are consumed, 3xx is returned unchanged, and body bytes are not decompressed.
Independent copies and provider-side lifecycle; moved owning fields are empty. Network and Base must remain loaded until release.
◆ Response() [1/3]
| StormByte::Network::HTTP::Response::Response |
( |
| ) |
|
Construct an empty response.
◆ Response() [2/3]
| StormByte::Network::HTTP::Response::Response |
( |
const Response & | other | ) |
|
Independently copy the response.
- Parameters
-
◆ Response() [3/3]
| StormByte::Network::HTTP::Response::Response |
( |
Response && | other | ) |
|
|
noexcept |
Transfer response ownership.
- Parameters
-
◆ ~Response()
| StormByte::Network::HTTP::Response::~Response |
( |
| ) |
|
|
noexcept |
Release provider-owned fields.
◆ operator=() [1/2]
| Response & StormByte::Network::HTTP::Response::operator= |
( |
const Response & | other | ) |
|
Independently replace the response.
- Parameters
-
- Returns
- This response.
◆ operator=() [2/2]
Transfer response ownership.
- Parameters
-
- Returns
- This response.
◆ body
Byte-exact entity body after transfer framing removal.
◆ headers
Final fields, preserving duplicates.
◆ protocol
Actual HTTP wire protocol.
◆ status
| unsigned short StormByte::Network::HTTP::Response::status {0} |
Final three-digit status.
◆ trailers
Validated trailing fields.
The documentation for this struct was generated from the following file: