Molybden API
Loading...
Searching...
No Matches
molybden::RedirectResponseCodeReceived Struct Reference

The NetworkEvents::onRedirectResponseCodeReceived event arguments. More...

#include <network_events.hpp>

Public Attributes

std::shared_ptr< Networknetwork
 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.
 

Detailed Description

Member Data Documentation

◆ new_url

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.

◆ response_code

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.


The documentation for this struct was generated from the following file: