arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
audio_tools::Url Class Reference

URL parser which breaks a full url string up into its individual parts. More...

#include <Url.h>

Public Member Functions

 Url (const char *url)
 
 Url (Url &url)
 
const char * host ()
 
bool isSecure ()
 
const char * path ()
 
int port ()
 
const char * protocol ()
 
void setUrl (const char *url)
 
const char * url ()
 
const char * urlRoot ()
 

Protected Member Functions

void parse ()
 

Protected Attributes

StrExt hostStr = StrExt(20)
 
StrExt pathStr = StrExt(40)
 
int portInt
 
StrExt protocolStr = StrExt(6)
 
StrExt urlRootStr = StrExt(40)
 
StrExt urlStr = StrExt(40)
 

Detailed Description

URL parser which breaks a full url string up into its individual parts.

http://pschatzmann.ch:80/path1/path2 -> protocol: http -> host: pschatzmann.ch -> port: 80 -> url: http://pschatzmann.ch:80/path1/path2 -> root: http://pschatzmann.ch:80

Author
Phil Schatzmann

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