Public Methods |
| URLStream () |
| Construct an instance of URL stream.
|
URLStream& | getline (char *buffer, size_t len) |
| Line parsing with conversion. More...
|
urlerror_t | Get (const char *path, int buffer = 512) |
| Get URL data from a named stream of a known buffer size. More...
|
urlerror_t | Submit (const char *path, const char **vars, int buffer = 512) |
| Submit URL with vars passed as argument array. More...
|
urlerror_t | Post (const char *path, const char **vars, int buffer = 512) |
| Post URL vars with post method. More...
|
urlerror_t | Head (const char *path, int buffer = 512) |
| Used to fetch header information for a resource. More...
|
void | Close () |
| Close the URL stream for a new connection.
|
void | setReferer (const char *str) |
| Set the referer url. More...
|
void | setCookie (const char *str) |
| Set the cookie to pass. More...
|
void | setUser (const char *str) |
| Set user id for the url. More...
|
void | setPassword (const char *str) |
| Set password for the url. More...
|
void | setAuthentication (urlauth_t a, const char *str = NULL) |
| Set authentication type for the url. More...
|
void | setPragma (const char *str) |
| Set the pragmas. More...
|
void | setProxy (const char *host, tpport_t port) |
| Set the proxy server used. More...
|
void | setAgent (const char *str) |
| Set the agent. More...
|
urlmethod_t | getMethod (void) |
| Get url method (and protocol) employed. More...
|
void | setTimeout (timeout_t to) |
| Set socket timeout characteristics for processing URL requests. More...
|
Protected Methods |
urlerror_t | sendHTTPHeader (const char *path, const char **vars, int bufsize) |
int | underflow (void) |
virtual void | httpHeader (const char *header, const char *value) |
| Derived method to receive and parse http "headers". More...
|