|
AXIAM C++ SDK 1.0.0-alpha8
Authentication, authorization, JWKS & route guards (REST + mTLS)
|
An HTTP response, or a transport failure. More...
#include <transport.hpp>
Public Attributes | |
| long | status = 0 |
| HeaderMap | headers |
| std::vector< std::string > | set_cookies |
Raw Set-Cookie header values, in arrival order. | |
| std::string | body |
| std::string | transport_error |
An HTTP response, or a transport failure.
When transport_error is non-empty the request never completed (connection/DNS/TLS) and the client raises NetworkError; otherwise status + headers + body describe the response.
| long axiam::HttpResponse::status = 0 |
| HeaderMap axiam::HttpResponse::headers |
| std::vector<std::string> axiam::HttpResponse::set_cookies |
Raw Set-Cookie header values, in arrival order.
Kept separate from headers because a response sets several cookies (axiam_access, axiam_refresh, axiam_csrf) and the case-insensitive HeaderMap would collapse the duplicates. Used to recover the access-token JWT so the org_id/tenant_id claims can be resolved for the refresh body (D-14).
| std::string axiam::HttpResponse::body |
| std::string axiam::HttpResponse::transport_error |