LLVM 17.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"

Collaboration diagram for llvm::StreamingHTTPResponse:
Collaboration graph
[legend]

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 73 of file HTTPServer.h.

Member Data Documentation

◆ Code

unsigned llvm::StreamingHTTPResponse::Code

Definition at line 74 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 80 of file HTTPServer.h.

◆ ContentLength

size_t llvm::StreamingHTTPResponse::ContentLength

Definition at line 76 of file HTTPServer.h.

◆ ContentType

const char* llvm::StreamingHTTPResponse::ContentType

Definition at line 75 of file HTTPServer.h.

◆ Provider

HTTPContentProvider llvm::StreamingHTTPResponse::Provider

Definition at line 77 of file HTTPServer.h.


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