arduino-audio-tools
|
URL parser which breaks a full url string up into its individual parts. More...
#include <Url.h>
Public Member Functions | |
Url ()=default | |
Allow Empty constructor. | |
Url (const char *url) | |
setup url from string | |
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 | |
Str | hostStr {0} |
Str | pathStr {0} |
int | portInt = 0 |
Str | protocolStr {0} |
Str | urlRootStr {0} |
Str | urlStr {0} |
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