Rebel Fork Framework
Urho3D::URL Class Reference

Public Member Functions

 URL (unsigned short port)
 URL (ea::string_view url)
URL & operator= (ea::string_view url)
 operator bool () const
 Returns false if URL fails to parse.
ea::string ToString () const
 Format an url after modifications were applied. No validation is done! Invalid input will result in invalid URL!

Static Public Member Functions

static ea::string Encode (ea::string_view string)
static ea::string Decode (ea::string_view string)

Public Attributes

ea::string scheme_
ea::string user_
ea::string password_
ea::string host_
unsigned short port_
ea::string path_
ea::string query_
ea::string hash_

Protected Member Functions

void ParseURL (ea::string_view url)

Member Function Documentation

◆ Encode()

ea::string Urho3D::URL::Encode ( ea::string_view string)
static

Encode strings for inclusion in URLs, or decode them when obtained from URLs.


The documentation for this class was generated from the following files:
  • Urho3D/Network/URL.h
  • Urho3D/Network/URL.cpp