CamelHttpStream

CamelHttpStream

Synopsis

                    CamelHttpStream;
enum                CamelHttpMethod;
CamelStream *       camel_http_stream_new               (CamelHttpMethod method,
                                                         struct _CamelSession *session,
                                                         CamelURL *url);
void                camel_http_stream_set_user_agent    (CamelHttpStream *http_stream,
                                                         const gchar *user_agent);
void                camel_http_stream_set_proxy         (CamelHttpStream *http_stream,
                                                         const gchar *proxy_url);
void                camel_http_stream_set_proxy_authrealm
                                                        (CamelHttpStream *http_stream,
                                                         const gchar *proxy_authrealm);
void                camel_http_stream_set_proxy_authpass
                                                        (CamelHttpStream *http_stream,
                                                         const gchar *proxy_authpass);
CamelContentType *  camel_http_stream_get_content_type  (CamelHttpStream *http_stream);

Object Hierarchy

  GObject
   +----CamelObject
         +----CamelStream
               +----CamelHttpStream

Description

Details

CamelHttpStream

typedef struct _CamelHttpStream CamelHttpStream;


enum CamelHttpMethod

typedef enum {
	/*CAMEL_HTTP_METHOD_OPTIONS,*/
	CAMEL_HTTP_METHOD_GET,
	CAMEL_HTTP_METHOD_HEAD
	/*CAMEL_HTTP_METHOD_POST,*/
	/*CAMEL_HTTP_METHOD_PUT,*/
	/*CAMEL_HTTP_METHOD_DELETE,*/
	/*CAMEL_HTTP_METHOD_TRACE,*/
	/*CAMEL_HTTP_METHOD_CONNECT*/
} CamelHttpMethod;


camel_http_stream_new ()

CamelStream *       camel_http_stream_new               (CamelHttpMethod method,
                                                         struct _CamelSession *session,
                                                         CamelURL *url);

method :

HTTP method

session :

active session

url :

URL to act upon

Returns :

a http stream

camel_http_stream_set_user_agent ()

void                camel_http_stream_set_user_agent    (CamelHttpStream *http_stream,
                                                         const gchar *user_agent);

http_stream :

user_agent :


camel_http_stream_set_proxy ()

void                camel_http_stream_set_proxy         (CamelHttpStream *http_stream,
                                                         const gchar *proxy_url);

http_stream :

proxy_url :


camel_http_stream_set_proxy_authrealm ()

void                camel_http_stream_set_proxy_authrealm
                                                        (CamelHttpStream *http_stream,
                                                         const gchar *proxy_authrealm);

http_stream :

proxy_authrealm :


camel_http_stream_set_proxy_authpass ()

void                camel_http_stream_set_proxy_authpass
                                                        (CamelHttpStream *http_stream,
                                                         const gchar *proxy_authpass);

http_stream :

proxy_authpass :


camel_http_stream_get_content_type ()

CamelContentType *  camel_http_stream_get_content_type  (CamelHttpStream *http_stream);

http_stream :

Returns :