hurl_t Struct Reference

#include <nanohttp-url.h>

List of all members.

Public Attributes

hprotocol_t protocol
unsigned short port
char * host
char * context


Detailed Description

The URL object. A representation of an URL like:

[protocol]://[user]@[host]:[port]/[context]['#' fragment]['?' query]

See also:
http://www.ietf.org/rfc/rfc2396.txt

Definition at line 60 of file nanohttp-url.h.


Member Data Documentation

char* hurl_t::context
 

The string after the hostname.

Definition at line 92 of file nanohttp-url.h.

Referenced by hurl_free(), and hurl_parse().

char* hurl_t::host
 

The hostname

Definition at line 85 of file nanohttp-url.h.

Referenced by hurl_free(), and hurl_parse().

unsigned short hurl_t::port
 

The port number. If no port number was given in the URL, one of the default port numbers will be selected:

  • HTTP_DEFAULT_PORT
  • HTTPS_DEFAULT_PORT

Definition at line 78 of file nanohttp-url.h.

Referenced by hurl_parse().

hprotocol_t hurl_t::protocol
 

The transfer protocol. Note that only PROTOCOL_HTTP and PROTOCOL_HTTPS are supported by nanohttp.

Definition at line 68 of file nanohttp-url.h.

Referenced by hurl_parse().


The documentation for this struct was generated from the following file:
Generated on Thu Jan 25 23:36:04 2007 for csoap by  doxygen 1.4.6