5#ifndef MOLYBDEN_URL_REQUEST_HPP
6#define MOLYBDEN_URL_REQUEST_HPP
11#include "molybden/network/http_header.hpp"
12#include "molybden/network/http_status_code.hpp"
21enum class ConnectionType {
45enum class ResourceType {
142enum class SslVersion {
157enum class UrlRequestStatus {
163 kUrlRequestStatusSuccess,
169 kUrlRequestStatusIoPending,
174 kUrlRequestStatusCanceled,
179 kUrlRequestStatusFailed
A host/port pair of the URI.
Definition url_request.hpp:233
std::string host
The host of the URI.
Definition url_request.hpp:237
uint32_t port
The port of the URI.
Definition url_request.hpp:242
The details about a URL request.
Definition url_request.hpp:185
std::shared_ptr< Browser > browser
The browser instance initiated this request or nullptr if it has not been determined or not available...
Definition url_request.hpp:222
SslVersion ssl_version
The SSL connection version used to make this request.
Definition url_request.hpp:227
ResourceType resource_type
The type of the resource the request is loading.
Definition url_request.hpp:204
uint64_t sent_bytes
The total amount of data sent over the network before SSL encoding and proxy handling.
Definition url_request.hpp:216
std::string method
The request method name.
Definition url_request.hpp:199
uint64_t received_bytes
The total amount of data received from network after SSL decoding and proxy handling.
Definition url_request.hpp:210
std::string url
The URL address of this request.
Definition url_request.hpp:194
uint64_t id
The identifier of this URL request.
Definition url_request.hpp:189