LLVM: llvm::StreamingHTTPResponse Struct Reference (original) (raw)

Wraps the content provider with HTTP Status code and headers. More...

#include "[llvm/Debuginfod/HTTPServer.h](HTTPServer%5F8h%5Fsource.html)"

Public Attributes
unsigned Code
const char * ContentType
size_t ContentLength
HTTPContentProvider Provider
std::function< void(bool)> CompletionHandler = [](bool Success) {}
Called after the response transfer is complete with the success value of the transfer.

Wraps the content provider with HTTP Status code and headers.

Definition at line 83 of file HTTPServer.h.

Code

unsigned llvm::StreamingHTTPResponse::Code

CompletionHandler

std::function<void(bool)> llvm::StreamingHTTPResponse::CompletionHandler = [](bool Success) {}

Called after the response transfer is complete with the success value of the transfer.

Definition at line 90 of file HTTPServer.h.

ContentLength

size_t llvm::StreamingHTTPResponse::ContentLength

ContentType

const char* llvm::StreamingHTTPResponse::ContentType

Provider


The documentation for this struct was generated from the following file: