Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

# apps/webclient/webclient.c File Reference

## Detailed Description

Implementation of the HTTP client.

Author:
  Adam Dunkels <adam@dunkels.com>

`#include "uip.h"`
`#include "webclient.h"`
`#include "resolv.h"`
`#include <string.h>`

Include dependency graph for webclient.c:

## Functions
char * | webclient_mimetype (void)
| Obtain the MIME type of the current HTTP data stream.
char * | webclient_filename (void)
| Obtain the filename of the current HTTP data stream.
char * | webclient_hostname (void)
| Obtain the hostname of the current HTTP data stream.
unsigned short | webclient_port (void)
| Obtain the port number of the current HTTP data stream.
void | webclient_init (void)
| Initialize the webclient module.
void | webclient_close (void)
| Close the currently open HTTP connection.
unsigned char | webclient_get (char *host, u16_t port, char *file)
| Open an HTTP connection to a web server and ask for a file using the GET method.