WPILibC++ 2023.4.3
|
#include <wpinet/HttpUtil.h>
Public Member Functions | |
HttpConnection (std::unique_ptr< wpi::NetworkStream > stream_, int timeout) | |
bool | Handshake (const HttpRequest &request, std::string *warnMsg) |
operator bool () const | |
Public Attributes | |
std::unique_ptr< wpi::NetworkStream > | stream |
wpi::raw_socket_istream | is |
wpi::raw_socket_ostream | os |
SmallString< 64 > | contentType |
SmallString< 64 > | contentLength |
|
inline |
bool wpi::HttpConnection::Handshake | ( | const HttpRequest & | request, |
std::string * | warnMsg | ||
) |
|
inlineexplicit |
SmallString<64> wpi::HttpConnection::contentLength |
SmallString<64> wpi::HttpConnection::contentType |
wpi::raw_socket_istream wpi::HttpConnection::is |
wpi::raw_socket_ostream wpi::HttpConnection::os |
std::unique_ptr<wpi::NetworkStream> wpi::HttpConnection::stream |