WebSocket++  0.8.0-dev
C++ websocket client/server library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
websocketpp::uri Class Reference

Public Member Functions

 uri (std::string const &uri_string)
 
 uri (bool secure, std::string const &host, uint16_t port, std::string const &resource)
 
 uri (bool secure, std::string const &host, std::string const &resource)
 
 uri (bool secure, std::string const &host, std::string const &port, std::string const &resource)
 
 uri (std::string const &scheme, std::string const &host, uint16_t port, std::string const &resource)
 
 uri (std::string scheme, std::string const &host, std::string const &resource)
 
 uri (std::string const &scheme, std::string const &host, std::string const &port, std::string const &resource)
 
bool get_valid () const
 
bool get_secure () const
 
std::string const & get_scheme () const
 
std::string const & get_host () const
 
std::string get_host_port () const
 
std::string get_authority () const
 
uint16_t get_port () const
 
std::string get_port_str () const
 
std::string const & get_resource () const
 
std::string str () const
 
std::string get_query () const
 Return the query portion. More...
 

Detailed Description

Definition at line 48 of file uri.hpp.

Member Function Documentation

std::string websocketpp::uri::get_query ( ) const
inline

Return the query portion.

Returns the query portion (after the ?) of the URI or an empty string if there is none.

Returns
query portion of the URI.

Definition at line 293 of file uri.hpp.


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