LLVM 20.0.0git
Public Attributes | List of all members
llvm::StreamingHTTPResponse Struct Reference

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

#include "llvm/Debuginfod/HTTPServer.h"

Public Attributes

unsigned Code
 
const charContentType
 
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.
 

Detailed Description

Wraps the content provider with HTTP Status code and headers.

Definition at line 83 of file HTTPServer.h.

Member Data Documentation

◆ Code

unsigned llvm::StreamingHTTPResponse::Code

Definition at line 84 of file HTTPServer.h.

◆ 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

Definition at line 86 of file HTTPServer.h.

◆ ContentType

const char* llvm::StreamingHTTPResponse::ContentType

Definition at line 85 of file HTTPServer.h.

◆ Provider

HTTPContentProvider llvm::StreamingHTTPResponse::Provider

Definition at line 87 of file HTTPServer.h.


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