|
tinyhttp
|
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 () |
| 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 = Str(20) |
| Str | pathStr = Str(40) |
| int | portInt |
| Str | protocolStr = Str(6) |
| Str | urlRootStr = Str(40) |
| Str | urlStr = Str(40) |
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