Kagome
Polkadot Runtime Engine in C++17
kagome::common::Uri Struct Referencefinal

#include <uri.hpp>

Collaboration diagram for kagome::common::Uri:

Public Member Functions

std::string to_string () const
 
const std::optional< std::string_view > & error () const
 

Static Public Member Functions

static Uri parse (std::string_view uri)
 

Public Attributes

std::string Schema
 
std::string Host
 
std::string Port
 
std::string Path
 
std::string Query
 
std::string Fragment
 

Private Attributes

std::optional< std::string_view > error_
 

Detailed Description

Definition at line 15 of file uri.hpp.

Member Function Documentation

const std::optional<std::string_view>& kagome::common::Uri::error ( ) const
inline

Definition at line 28 of file uri.hpp.

Uri kagome::common::Uri::parse ( std::string_view  uri)
static

Definition at line 42 of file uri.cpp.

std::string kagome::common::Uri::to_string ( ) const

Definition at line 12 of file uri.cpp.

Member Data Documentation

std::optional<std::string_view> kagome::common::Uri::error_
private

Definition at line 33 of file uri.hpp.

std::string kagome::common::Uri::Fragment

Definition at line 22 of file uri.hpp.

std::string kagome::common::Uri::Host

Definition at line 18 of file uri.hpp.

std::string kagome::common::Uri::Path

Definition at line 20 of file uri.hpp.

std::string kagome::common::Uri::Port

Definition at line 19 of file uri.hpp.

std::string kagome::common::Uri::Query

Definition at line 21 of file uri.hpp.

std::string kagome::common::Uri::Schema

Definition at line 17 of file uri.hpp.


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