AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AUrl Class Reference

Uniform Resource Locator implementation. More...

#include <AUI/Url/AUrl.h>

Public Types

using Resolver = std::function<_unique<IInputStream>(const AUrl&)>
 

Public Member Functions

 AUrl (AString full)
 
 AUrl (const char *full)
 
 AUrl (AString schema, AString path)
 
_unique< IInputStreamopen () const
 
const AStringpath () const noexcept
 
const AStringschema () const noexcept
 
AString full () const
 
bool operator< (const AUrl &u) const
 

Static Public Member Functions

static AUrl file (const AString &file)
 
static void registerResolver (const AString &protocol, Resolver resolver)
 

Detailed Description

Uniform Resource Locator implementation.

Handles standard web url (schema://host:port/path).

Empty schema is mapped to the assets file. In example, ":icon.svg" references to icon.svg file in your assets. See aui_compile_assets() and examples of asset usage.


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