Callback that supplies a chunk of a streaming HTTP response body.
Synopsis
Declared in <llvm/HTTP/HTTPServer.h>
typedef std::function<StringRef(size_t, size_t)> HTTPContentProvider;
Description
An HTTPContentProvider is called by the HTTPServer to obtain chunks of the streaming response body. The returned chunk should be located at Offset bytes and have Length bytes.
Created with MrDocs