Thoth
A functional, expressive, asynchronous C++26 webdev library
Loading...
Searching...
No Matches
Thoth::Http::OptionsMethod Struct Reference

#include <OptionsMethod.hpp>

Static Public Member Functions

static constexpr std::string_view MethodName ()
 
static constexpr bool IsSafe ()
 
static constexpr bool IsIdempotent ()
 
static WebResultOper ValidateRequest (string_view body, const Url &url, const Headers &headers)
 
static WebResultOper ValidateResponse (StatusCodeEnum statusCode, string_view body, const Url &url, const Headers &headers)
 

Member Function Documentation

◆ IsIdempotent()

static constexpr bool Thoth::Http::OptionsMethod::IsIdempotent ( )
inlinestaticconstexpr

◆ IsSafe()

static constexpr bool Thoth::Http::OptionsMethod::IsSafe ( )
inlinestaticconstexpr

◆ MethodName()

static constexpr std::string_view Thoth::Http::OptionsMethod::MethodName ( )
inlinestaticconstexpr

◆ ValidateRequest()

static WebResultOper Thoth::Http::OptionsMethod::ValidateRequest ( string_view  body,
const Url url,
const Headers headers 
)
inlinestatic

◆ ValidateResponse()

static WebResultOper Thoth::Http::OptionsMethod::ValidateResponse ( StatusCodeEnum  statusCode,
string_view  body,
const Url url,
const Headers headers 
)
inlinestatic

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