C++ edjLibrary SDK
|
A pending Fetch response. More...
#include <fetch.hpp>
Public Member Functions | |
FetchResponsePending () | |
FetchResponsePending (uint32_t sd) | |
edjx::error::HttpError | get_fetch_response (FetchResponse &result) |
Get the server's response. More... | |
Public Attributes | |
uint32_t | sd |
Stream descriptor. More... | |
A pending Fetch response.
This struct is used as a placeholder for a response from the server during Fetch request streaming, before an actual server response is received.
Once a response is received from the server, it can be retrieved via the get_fetch_response() method.
|
inline |
|
inline |
edjx::error::HttpError edjx::fetch::FetchResponsePending::get_fetch_response | ( | FetchResponse & | result | ) |
Get the server's response.
result | Server's response will be copied to this object. |
uint32_t edjx::fetch::FetchResponsePending::sd |
Stream descriptor.