Monero
Loading...
Searching...
No Matches
net::uri_components Struct Reference

Separates scheme, user, pass, and host+port sections of a URI. More...

#include <parse.h>

Collaboration diagram for net::uri_components:

Public Member Functions

 uri_components ()

Static Public Member Functions

static boost::optional< uri_componentsget (boost::string_ref uri)

Public Attributes

std::string scheme
user_and_pass userinfo
std::string hostport

Detailed Description

Separates scheme, user, pass, and host+port sections of a URI.

Constructor & Destructor Documentation

◆ uri_components()

net::uri_components::uri_components ( )
inline

Member Function Documentation

◆ get()

boost::optional< uri_components > net::uri_components::get ( boost::string_ref uri)
static
Parameters
uriwith optional scheme, optional user, optional pass, authority, and optional path. URN not supported.
Returns
Scheme, user, pass, and host+port sections of a URI with percent encoding removed on user and pass. boost::none if bad percent encoding.

Member Data Documentation

◆ hostport

std::string net::uri_components::hostport

◆ scheme

std::string net::uri_components::scheme

◆ userinfo

user_and_pass net::uri_components::userinfo

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