Molybden API
|
The NetworkEvents::onRedirectResponseCodeReceived 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 redirected. | |
uint32_t | response_code |
The HTTP response code (e.g., 300, 301, and so on). | |
std::string | new_url |
The new location of the redirected URL request. | |
The NetworkEvents::onRedirectResponseCodeReceived event arguments.
std::string molybden::RedirectResponseCodeReceived::new_url |
The new location of the redirected URL request.
Represents the full text of the redirection URL, in UTF-8 format. Can be empty when the new URL is not considered as valid.
uint32_t molybden::RedirectResponseCodeReceived::response_code |
The HTTP response code (e.g., 300, 301, and so on).
Indicates the reason why the request has been redirected.