struct StreamingHTTPResponse

Declaration

struct StreamingHTTPResponse { /* full declaration omitted */ };

Description

Wraps the content provider with HTTP Status code and headers.

Declared at: llvm/include/llvm/Debuginfod/HTTPServer.h:73

Member Variables

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