## CamelHttpStream CamelHttpStream |

## Synopsis

    struct              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

## Implemented Interfaces

CamelHttpStream implements GSeekable.

## Description

## Details

### struct CamelHttpStream

    struct CamelHttpStream;

### Warning

`CamelHttpStream` is deprecated and should not be used in newly-written code.

### 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;

### Warning

`CamelHttpMethod` is deprecated and should not be used in newly-written code.

### camel_http_stream_new ()

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

### Warning

`camel_http_stream_new` is deprecated and should not be used in newly-written code.

`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);

### Warning

`camel_http_stream_set_user_agent` is deprecated and should not be used in newly-written code.

### camel_http_stream_set_proxy ()

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

### Warning

`camel_http_stream_set_proxy` is deprecated and should not be used in newly-written code.

### camel_http_stream_set_proxy_authrealm ()

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

### Warning

`camel_http_stream_set_proxy_authrealm` is deprecated and should not be used in newly-written code.

### camel_http_stream_set_proxy_authpass ()

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

### Warning

`camel_http_stream_set_proxy_authpass` is deprecated and should not be used in newly-written code.

### camel_http_stream_get_content_type ()

    CamelContentType *  camel_http_stream_get_content_type  (CamelHttpStream *http_stream);

### Warning

`camel_http_stream_get_content_type` is deprecated and should not be used in newly-written code.