cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::client::HttpAuthChallenge Struct Reference

HTTP auth challenge observed by the client transport. More...

#include <http_transport.hpp>

Public Attributes

int status_code = 0
 HTTP status code, normally 401 or 403.
 
std::string method
 Request method name that received the challenge.
 
std::unordered_map< std::string, std::string > headers
 Response headers copied from the failed HTTP response.
 
std::optional< std::string > www_authenticate
 First WWW-Authenticate header value, when present.
 

Detailed Description

HTTP auth challenge observed by the client transport.


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