|
MōBrowser API
|
The NetworkEvents::onRequestCompleted event arguments. More...
#include <network_events.hpp>
Public Attributes | |
| std::shared_ptr< Network > | network |
| The network instance initiated this event. | |
| UrlRequest | url_request |
| The URL request that has been completed. | |
| uint32_t | response_code |
| The HTTP response code or 0 if the request has been failed or canceled. | |
| UrlRequestStatus | status |
| The status of the URL request. | |
| NetError | error_code |
| The URL request error code. | |
| bool | is_cached |
| True if the response has been taken from cache. | |
The NetworkEvents::onRequestCompleted event arguments.
| NetError mobrowser::RequestCompleted::error_code |
The URL request error code.
In case the request has failed, contains the error code of the network. Otherwise, has the default NetError::kUnspecified value.