LLVM 19.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::HTTPResponseHandler Class Referenceabstract

A handler for state updates occurring while an HTTPRequest is performed. More...

#include "llvm/Debuginfod/HTTPClient.h"

Public Member Functions

virtual Error handleBodyChunk (StringRef BodyChunk)=0
 Processes an additional chunk of bytes of the HTTP response body.
 

Protected Member Functions

 ~HTTPResponseHandler ()
 

Detailed Description

A handler for state updates occurring while an HTTPRequest is performed.

Can trigger the client to abort the request by returning an Error from any of its methods.

Definition at line 43 of file HTTPClient.h.

Constructor & Destructor Documentation

◆ ~HTTPResponseHandler()

HTTPResponseHandler::~HTTPResponseHandler ( )
protecteddefault

Member Function Documentation

◆ handleBodyChunk()

virtual Error llvm::HTTPResponseHandler::handleBodyChunk ( StringRef  BodyChunk)
pure virtual

Processes an additional chunk of bytes of the HTTP response body.


The documentation for this class was generated from the following files: