WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::net::HttpRequest Class Reference

#include <wpi/net/HttpUtil.hpp>

Public Member Functions

 HttpRequest ()=default
 HttpRequest (const HttpLocation &loc)
template<typename T>
 HttpRequest (const HttpLocation &loc, const T &extraParams)
 HttpRequest (const HttpLocation &loc, std::string_view path_)
template<typename T>
 HttpRequest (const HttpLocation &loc, std::string_view path_, const T &params)

Public Attributes

wpi::util::SmallString< 128 > host
int port
std::string auth
wpi::util::SmallString< 128 > path

Constructor & Destructor Documentation

◆ HttpRequest() [1/5]

wpi::net::HttpRequest::HttpRequest ( )
default

◆ HttpRequest() [2/5]

wpi::net::HttpRequest::HttpRequest ( const HttpLocation & loc)
inlineexplicit

◆ HttpRequest() [3/5]

template<typename T>
wpi::net::HttpRequest::HttpRequest ( const HttpLocation & loc,
const T & extraParams )
inline

◆ HttpRequest() [4/5]

wpi::net::HttpRequest::HttpRequest ( const HttpLocation & loc,
std::string_view path_ )
inline

◆ HttpRequest() [5/5]

template<typename T>
wpi::net::HttpRequest::HttpRequest ( const HttpLocation & loc,
std::string_view path_,
const T & params )
inline

Member Data Documentation

◆ auth

std::string wpi::net::HttpRequest::auth

◆ host

wpi::util::SmallString<128> wpi::net::HttpRequest::host

◆ path

wpi::util::SmallString<128> wpi::net::HttpRequest::path

◆ port

int wpi::net::HttpRequest::port

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