| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
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);
typedef struct _CamelHttpStream CamelHttpStream;
CamelHttpStream is deprecated and should not be used in newly-written code.
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;
CamelHttpMethod is deprecated and should not be used in newly-written code.
CamelStream * camel_http_stream_new (CamelHttpMethod method, struct _CamelSession *session, CamelURL *url);
camel_http_stream_new is deprecated and should not be used in newly-written code.
|
HTTP method |
|
active session |
|
URL to act upon |
Returns : |
a http stream |
void camel_http_stream_set_user_agent (CamelHttpStream *http_stream, const gchar *user_agent);
camel_http_stream_set_user_agent is deprecated and should not be used in newly-written code.
|
|
|
void camel_http_stream_set_proxy (CamelHttpStream *http_stream, const gchar *proxy_url);
camel_http_stream_set_proxy is deprecated and should not be used in newly-written code.
|
|
|
void camel_http_stream_set_proxy_authrealm
(CamelHttpStream *http_stream,
const gchar *proxy_authrealm);
camel_http_stream_set_proxy_authrealm is deprecated and should not be used in newly-written code.
|
|
|
void camel_http_stream_set_proxy_authpass
(CamelHttpStream *http_stream,
const gchar *proxy_authpass);
camel_http_stream_set_proxy_authpass is deprecated and should not be used in newly-written code.
|
|
|
CamelContentType * camel_http_stream_get_content_type (CamelHttpStream *http_stream);
camel_http_stream_get_content_type is deprecated and should not be used in newly-written code.
|
|
Returns : |