# modules/uip/apps/webclient/webclient.c File Reference

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

## Defines
#define | WEBCLIENT_TIMEOUT 100
#define | WEBCLIENT_STATE_STATUSLINE 0
#define | WEBCLIENT_STATE_HEADERS 1
#define | WEBCLIENT_STATE_DATA 2
#define | WEBCLIENT_STATE_CLOSE 3
#define | HTTPFLAG_NONE 0
#define | HTTPFLAG_OK 1
#define | HTTPFLAG_MOVED 2
#define | HTTPFLAG_ERROR 3
#define | ISO_nl 0x0a
#define | ISO_cr 0x0d
#define | ISO_space 0x20
## Functions
char * | webclient_mimetype (void)
char * | webclient_filename (void)
char * | webclient_hostname (void)
unsigned short | webclient_port (void)
void | webclient_init (void)
void | webclient_close (void)
unsigned char | webclient_get (char *host, u16_t port, char *file)
void | webclient_appcall (void)

## Detailed Description

Implementation of the HTTP client.

Author:
  Adam Dunkels <adam@dunkels.com>