WPILibC++ 2023.4.3
wpi::HttpRequest Class Reference

#include <wpinet/HttpUtil.h>

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

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

Constructor & Destructor Documentation

◆ HttpRequest() [1/5]

wpi::HttpRequest::HttpRequest ( )
default

◆ HttpRequest() [2/5]

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

◆ HttpRequest() [3/5]

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

◆ HttpRequest() [4/5]

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

◆ HttpRequest() [5/5]

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

Member Data Documentation

◆ auth

std::string wpi::HttpRequest::auth

◆ host

SmallString<128> wpi::HttpRequest::host

◆ path

SmallString<128> wpi::HttpRequest::path

◆ port

int wpi::HttpRequest::port

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