ledger-core
|
#include <HttpUrlConnection.hpp>
Public Member Functions | |
virtual int32_t | getStatusCode ()=0 |
virtual std::string | getStatusText ()=0 |
virtual std::unordered_map< std::string, std::string > | getHeaders ()=0 |
virtual HttpReadBodyResult | readBody ()=0 |
Class representing an Http connection.
|
pure virtual |
Gets the HTTP response headers.
|
pure virtual |
Gets the HTTP response status code.
|
pure virtual |
Gets the HTTP response status text.
|
pure virtual |
Reads available HTTP response body. This method will be called multiple times until it returns a empty bytes array.