Wraps the content provider with HTTP Status code and headers.
Declared in <llvm/HTTP/HTTPServer.h>
struct StreamingHTTPResponse;
| Name | Description |
|---|---|
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. |