llvm::HTTPServerRequest

An inbound HTTP request being handled by HTTPServer.

Synopsis

Declared in <llvm/HTTP/HTTPServer.h>

class HTTPServerRequest;

Member Functions

NameDescription
setResponse setResponse overloads

Data Members

NameDescription
UrlPath The URL path of the request.
UrlPathMatches The elements correspond to match groups in the url path matching regex.

Friends

NameDescription
llvm::HTTPServerAn HTTP server which can listen on a single TCP/IP port for HTTP requests and delgate them to the appropriate registered handler.

Non-Member Functions

NameDescription
streamFileSets the response to stream the file at FilePath, if available, and otherwise an HTTP 404 error response.