ΒΆbool streamFile(llvm::HTTPServerRequest& Request,
llvm::StringRef FilePath)
bool streamFile(llvm::HTTPServerRequest& Request,
llvm::StringRef FilePath)
Description
Sets the response to stream the file at FilePath, if available, and otherwise an HTTP 404 error response.
Declared at: llvm/include/llvm/Debuginfod/HTTPServer.h:85
Parameters
- llvm::HTTPServerRequest& Request
- llvm::StringRef FilePath