Lines Matching refs:Request
37 bool llvm::streamFile(HTTPServerRequest &Request, StringRef FilePath) { in streamFile() argument
41 Request.setResponse({404u, "text/plain", "Could not open file to read.\n"}); in streamFile()
51 Request.setResponse({404u, "text/plain", "Could not memory-map file.\n"}); in streamFile()
57 Request.setResponse({200u, "application/octet-stream", MB->getBufferSize(), in streamFile()
74 HTTPServerRequest &Request) { in expandUrlPathMatches() argument
78 Request.UrlPathMatches.push_back(it); in expandUrlPathMatches()
80 Request.UrlPath = it; in expandUrlPathMatches()
86 HTTPServerRequest::HTTPServerRequest(const httplib::Request &HTTPLibRequest, in HTTPServerRequest()
118 [Handler](const httplib::Request &HTTPLibRequest, in get()
120 HTTPServerRequest Request(HTTPLibRequest, HTTPLibResponse); in get() local
121 Handler(Request); in get()