Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

http.h File Reference


Detailed Description

Defined when <sofia-sip/http.h> has been included.

HTTP message, methods, headers.

See also:
RFC 2616
Author:
Pekka Pessi <Pekka.Pessi@nokia.com>.
Date:
Created : Thu Jun 8 19:28:55 2000 ppessi

Definition in file http.h.

#include <sofia-sip/msg.h>
#include <sofia-sip/url.h>
#include <sofia-sip/msg_mime.h>

Go to the source code of this file.

Classes

struct  http_authentication_info_s
 Structure for Authentication-Info header. More...
struct  http_content_range_s
struct  http_cookie_s
struct  http_date_s
union  http_header_u
struct  http_host_s
struct  http_if_range_s
struct  http_location_s
struct  http_max_forwards_s
struct  http_range_s
struct  http_request_s
struct  http_retry_after_s
struct  http_s
struct  http_set_cookie_s
struct  http_status_s
struct  http_te_s
struct  http_via_s

Defines

#define HTTP_DEFAULT_PORT   (80)
#define HTTP_DEFAULT_SERV   "80"
#define HTTP_METHOD(s)   http_method_unknown, #s
#define HTTP_METHOD_CONNECT   http_method_connect, "CONNECT"
#define HTTP_METHOD_DELETE   http_method_delete, "DELETE"
#define HTTP_METHOD_GET   http_method_get, "GET"
#define HTTP_METHOD_HEAD   http_method_head, "HEAD"
#define HTTP_METHOD_OPTIONS   http_method_options, "OPTIONS"
#define HTTP_METHOD_POST   http_method_post, "POST"
#define HTTP_METHOD_PUT   http_method_put, "PUT"
#define HTTP_METHOD_TRACE   http_method_trace, "TRACE"
#define HTTP_NO_METHOD   http_method_unknown, NULL
#define HTTP_NONE   ((http_header_t *)MSG_HEADER_NONE)
#define HTTP_PROTOCOL_TAG   ((void *)0x48545450)

Typedefs

typedef msg_accept_charset_t http_accept_charset_t
typedef msg_accept_encoding_t http_accept_encoding_t
typedef msg_accept_language_t http_accept_language_t
typedef msg_list_t http_accept_ranges_t
typedef msg_accept_t http_accept_t
typedef msg_numeric_t http_age_t
typedef msg_list_t http_allow_t
typedef struct
http_authentication_info_s 
http_authentication_info_t
typedef msg_auth_t http_authorization_t
typedef msg_list_t http_cache_control_t
typedef msg_list_t http_connection_t
typedef msg_content_encoding_t http_content_encoding_t
typedef msg_content_language_t http_content_language_t
typedef msg_content_length_t http_content_length_t
typedef msg_content_location_t http_content_location_t
typedef msg_generic_t http_content_md5_t
typedef struct http_content_range_s http_content_range_t
typedef msg_content_type_t http_content_type_t
typedef struct http_cookie_s http_cookie_t
typedef struct http_date_s http_date_t
typedef msg_error_t http_error_t
typedef msg_generic_t http_etag_t
typedef msg_generic_t http_expect_t
typedef http_date_t http_expires_t
typedef msg_generic_t http_from_t
typedef union http_header_u http_header_t
typedef struct http_host_s http_host_t
typedef msg_list_t http_if_match_t
typedef http_date_t http_if_modified_since_t
typedef msg_list_t http_if_none_match_t
typedef struct http_if_range_s http_if_range_t
typedef http_date_t http_if_unmodified_since_t
typedef http_date_t http_last_modified_t
typedef struct http_location_s http_location_t
typedef struct http_max_forwards_s http_max_forwards_t
typedef msg_generic_t http_mime_version_t
typedef unsigned long http_off_t
typedef msg_payload_t http_payload_t
typedef msg_list_t http_pragma_t
typedef msg_auth_t http_proxy_authenticate_t
typedef msg_auth_t http_proxy_authorization_t
typedef msg_list_t http_proxy_connection_t
typedef struct http_range_s http_range_t
typedef struct http_location_s http_referer_t
typedef struct http_request_s http_request_t
typedef struct http_retry_after_s http_retry_after_t
typedef msg_separator_t http_separator_t
typedef msg_generic_t http_server_t
typedef struct http_set_cookie_s http_set_cookie_t
typedef struct http_status_s http_status_t
typedef struct http_s http_t
typedef struct http_te_s http_te_t
typedef unsigned long http_time_t
typedef msg_list_t http_trailer_t
typedef msg_list_t http_transfer_encoding_t
typedef msg_generic_t http_unknown_t
typedef msg_list_t http_upgrade_t
typedef msg_generic_t http_user_agent_t
typedef msg_list_t http_vary_t
typedef struct http_via_s http_via_t
typedef msg_warning_t http_warning_t
typedef msg_auth_t http_www_authenticate_t

Enumerations

enum  { HTTP_FLG_NO_BODY = (1 << 15) }
enum  http_method_t {
  http_method_invalid = -1, http_method_unknown = 0, http_method_get, http_method_post,
  http_method_head, http_method_options, http_method_put, http_method_delete,
  http_method_trace, http_method_connect
}


Generated by  Doxygen 1.6.0   Back to index