Class HTTPHeadersResult

Inheritance Relationships

Base Type

Class Documentation

class HTTPHeadersResult : public csp::systems::ResultBase

A result handler that is used to notify a user of an error while providing an event for a callback response, in addition to passing a Map of Strings representing the HTTP Responses.

Public Functions

void OnResponse(const csp::services::ApiResponseBase *ApiResponse) override

Event function used to act upon a HTTP response.

Parameters

ApiResponse – : An ApiResponseBase instance used for translating response calls.

const csp::common::Map<csp::common::String, csp::common::String> &GetValue() const

A getter which returns the map of strings representing HTTP responses passed via the result.