WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
HttpUtil.hpp File Reference
#include <initializer_list>
#include <memory>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "wpi/net/NetworkStream.hpp"
#include "wpi/net/raw_socket_istream.hpp"
#include "wpi/net/raw_socket_ostream.hpp"
#include "wpi/util/SmallString.hpp"
#include "wpi/util/SmallVector.hpp"
#include "wpi/util/StringMap.hpp"
#include "wpi/util/raw_istream.hpp"

Go to the source code of this file.

Classes

class  wpi::net::HttpQueryMap
 Map for looking up elements of the query portion of a URI. More...
class  wpi::net::HttpPath
 Class for HTTP path matching. More...
class  wpi::net::HttpPathRef
 Proxy reference object for a portion of a HttpPath. More...
class  wpi::net::HttpLocation
class  wpi::net::HttpRequest
class  wpi::net::HttpConnection
class  wpi::net::HttpMultipartScanner

Namespaces

namespace  wpi
namespace  wpi::net

Functions

std::string_view wpi::net::UnescapeURI (std::string_view str, wpi::util::SmallVectorImpl< char > &buf, bool *error)
std::string_view wpi::net::EscapeURI (std::string_view str, wpi::util::SmallVectorImpl< char > &buf, bool spacePlus=true)
std::string_view wpi::net::EscapeHTML (std::string_view str, wpi::util::SmallVectorImpl< char > &buf)
bool wpi::net::ParseHttpHeaders (wpi::util::raw_istream &is, wpi::util::SmallVectorImpl< char > *contentType, wpi::util::SmallVectorImpl< char > *contentLength)
bool wpi::net::FindMultipartBoundary (wpi::util::raw_istream &is, std::string_view boundary, std::string *saveBuf)