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

Separates the user and pass sections from URI userinfo. More...

#include <parse.h>

Public Member Functions

 user_and_pass ()

Static Public Member Functions

static boost::optional< user_and_passget (boost::string_ref userinfo)

Public Attributes

std::string user
std::string pass

Detailed Description

Separates the user and pass sections from URI userinfo.

Constructor & Destructor Documentation

◆ user_and_pass()

net::user_and_pass::user_and_pass ( )
inline

Member Function Documentation

◆ get()

boost::optional< user_and_pass > net::user_and_pass::get ( boost::string_ref userinfo)
static
Parameters
userinfosection of a URI.
Returns
User and pass with percent encoding removed. boost::none if bad percent encoding

Member Data Documentation

◆ pass

std::string net::user_and_pass::pass

◆ user

std::string net::user_and_pass::user

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