WPILibC++ 2023.4.3
HttpUtil.h File Reference
#include <initializer_list>
#include <memory>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include <wpi/SmallString.h>
#include <wpi/SmallVector.h>
#include <wpi/StringMap.h>
#include <wpi/raw_istream.h>
#include "wpinet/NetworkStream.h"
#include "wpinet/raw_socket_istream.h"
#include "wpinet/raw_socket_ostream.h"
#include "HttpUtil.inc"

Go to the source code of this file.

Classes

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

Namespaces

namespace  wpi
 /file This file defines the SmallVector class.
 

Functions

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