llvm::StreamingHTTPResponse

Wraps the content provider with HTTP Status code and headers.

Synopsis

Declared in <llvm/HTTP/HTTPServer.h>

struct StreamingHTTPResponse;

Data Members

NameDescription
Code HTTP status code to return.
CompletionHandler Called after the response transfer is complete with the success value of the transfer.
ContentLength Total length in bytes of the streamed body.
ContentType MIME content type of the response body.
Provider Provider invoked to obtain body chunks.