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