|
struct | FailureReply |
| Contains details about a failed network request sent. More...
|
|
struct | HostError |
| Represents an error with a network's URI hostname. More...
|
|
struct | NotifyingSender |
| Derived objects provide an API for sending network requests and getting their replies as a notification signal. More...
|
|
class | QtReplyResponse |
| Represents a network request's reply response using Qt's QNetworkReply. This is designed to encapsulate a QNetworkReply object, which is used for handling network responses in Qt applications. More...
|
|
class | QtRequestSender |
| This is designed to send network requests with the help of Qt's QNetworkAccessManager. More...
|
|
struct | ReplyError |
| Represents an error with a network reply. More...
|
|
class | ReplyNotifier |
| Monitors and notifies the status of a network request. More...
|
|
class | ReplyResponse |
| Interface for retrieving network replies from a sent request. When deriving, it'll provide methods for accessing various response information from a received network reply. More...
|
|
class | RequestBuilder |
| A means to build a network request for sending. More...
|
|
class | RequestManager |
| Manages all network requests and handles their responses. More...
|
|
class | RequestSender |
| Interface for sending network requests. When deriving, it'll provide methods for sending various network requests. More...
|
|
struct | SuccessReply |
| Contains details about a successfully sent network request. More...
|
|
|
DRN_NETWORKING_EXPORT::QDebug | operator<< (::QDebug out, const HttpStatusCode code) |
| Qt stream insertion operator.
|
|
DRN_NETWORKING_EXPORT::QDebug | operator<< (::QDebug out, const RequestBuilder &rb) |
| Stream insertion operator for a request builder into the debug buffer.
|
|
DRN_NETWORKING_EXPORT std::ostream & | operator<< (std::ostream &out, const HttpStatusCode code) |
| Stream insertion operator.
|
|
DRN_NETWORKING_EXPORT std::ostream & | operator<< (std::ostream &out, const RequestBuilder &rb) |
| Stream insertion operator for a request builder into the output buffer.
|
|
DRN_NETWORKING_EXPORT pecunia::Expected< SuccessReply, FailureReply > | receiveResponse (NotifyingSender &sender, const RequestBuilder &request) noexcept |
| Sends a network request and returns the response synchronously. It blocks the calling thread until a response is received, or an error occurs.
|
|
DRN_NETWORKING_EXPORT HttpStatusCode | toHttpStatusCode (const std::int32_t value) |
| Converts an integer value to its corresponding HTTP status code.
|
|
DRN_NETWORKING_EXPORT std::int32_t | toInteger (const HttpStatusCode value) |
| Converts an HttpStatusCode to its integer representation.
|
|
DRN_NETWORKING_EXPORT std::string | toStdString (const HttpStatusCode value) |
| Converts an HttpStatusCode to its human-readable representation.
|
|