#include <Response.hpp>
◆ MethodType
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
◆ AsJson()
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
template<class = void>
requires std::same_as<Body,
string>
◆ MoveBody()
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
Monad friendly move of the body, discarding the rest of the response. Recommended check for Successful() before.
◆ Successful()
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
Returns if the response is 2XX.
◆ Client
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
◆ body
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
◆ headers
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
◆ status
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
◆ statusMessage
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
◆ version
template<MethodConcept Method = GetMethod, ResponseBodyConcept Body = std::string>
The documentation for this struct was generated from the following files: