public class Message : Object {
public weak string method ;
public uint status_code ;
public weak string reason_phrase ;
public DataBuffer request ;
public weak GLib.HashTable request_headers ;
public DataBuffer response ;
public weak GLib.HashTable response_headers ;
public MessageStatus status ;
public Message ( string method,
string uri_string ) ;
public Message.from_uri ( string method,
Uri uri ) ;
public signal void finished ( ) ;
public signal void got_body ( ) ;
public signal void got_chunk ( ) ;
public signal void got_headers ( ) ;
public signal void got_informational ( ) ;
public signal void restarted ( ) ;
public signal void wrote_body ( ) ;
public signal void wrote_chunk ( ) ;
public signal void wrote_headers ( ) ;
public signal void wrote_informational ( ) ;
public void add_chunk ( Ownership owner,
string body,
uint length ) ;
public void add_final_chunk ( ) ;
public void add_handler ( HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public static void add_header ( GLib.HashTable hash,
string name,
string value ) ;
public void add_header_handler ( string header,
HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public void add_status_class_handler ( StatusClass status_class,
HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public void add_status_code_handler ( uint status_code,
HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public static void clear_headers ( GLib.HashTable hash ) ;
public uint get_flags ( ) ;
public static weak string get_header ( GLib.HashTable hash,
string name ) ;
public static weak GLib.SList get_header_list ( GLib.HashTable hash,
string name ) ;
public HttpVersion get_http_version ( ) ;
public TransferEncoding get_request_encoding ( uint content_length ) ;
public TransferEncoding get_response_encoding ( uint content_length ) ;
public weak Uri get_uri ( ) ;
public bool io_in_progress ( ) ;
public void io_pause ( ) ;
public void io_stop ( ) ;
public void io_unpause ( ) ;
public bool is_keepalive ( ) ;
public void read_request ( Socket sock ) ;
public void remove_handler ( HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public static void remove_header ( GLib.HashTable hash,
string name ) ;
public void send_request ( Socket sock,
bool is_via_proxy ) ;
public void set_flags ( uint flags ) ;
public void set_http_version ( HttpVersion version ) ;
public void set_request ( string content_type,
Ownership req_owner,
string req_body,
ulong req_length ) ;
public void set_response ( string content_type,
Ownership resp_owner,
string resp_body,
ulong resp_length ) ;
public void set_status ( uint status_code ) ;
public void set_status_full ( uint status_code,
string reason_phrase ) ;
public void set_uri ( Uri uri ) ;
}

public Message ( string method,
string uri_string ) ;
public Message.from_uri ( string method,
Uri uri ) ;
public weak string method ;
public uint status_code ;
public weak string reason_phrase ;
public DataBuffer request ;
public weak GLib.HashTable request_headers ;
public DataBuffer response ;
public weak GLib.HashTable response_headers ;
public MessageStatus status ;
public signal void finished ( ) ;
public signal void got_body ( ) ;
public signal void got_chunk ( ) ;
public signal void got_headers ( ) ;
public signal void got_informational ( ) ;
public signal void restarted ( ) ;
public signal void wrote_body ( ) ;
public signal void wrote_chunk ( ) ;
public signal void wrote_headers ( ) ;
public signal void wrote_informational ( ) ;
public void add_chunk ( Ownership owner,
string body,
uint length ) ;
public void add_final_chunk ( ) ;
public void add_handler ( HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public static void add_header ( GLib.HashTable hash,
string name,
string value ) ;
public void add_header_handler ( string header,
HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public void add_status_class_handler ( StatusClass status_class,
HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public void add_status_code_handler ( uint status_code,
HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public static void clear_headers ( GLib.HashTable hash ) ;
public uint get_flags ( ) ;
public static weak string get_header ( GLib.HashTable hash,
string name ) ;
public static weak GLib.SList get_header_list ( GLib.HashTable hash,
string name ) ;
public HttpVersion get_http_version ( ) ;
public TransferEncoding get_request_encoding ( uint content_length ) ;
public TransferEncoding get_response_encoding ( uint content_length ) ;
public weak Uri get_uri ( ) ;
public bool io_in_progress ( ) ;
public void io_pause ( ) ;
public void io_stop ( ) ;
public void io_unpause ( ) ;
public bool is_keepalive ( ) ;
public void read_request ( Socket sock ) ;
public void remove_handler ( HandlerPhase phase,
MessageCallbackFn handler_cb ) ;
public static void remove_header ( GLib.HashTable hash,
string name ) ;
public void send_request ( Socket sock,
bool is_via_proxy ) ;
public void set_flags ( uint flags ) ;
public void set_http_version ( HttpVersion version ) ;
public void set_request ( string content_type,
Ownership req_owner,
string req_body,
ulong req_length ) ;
public void set_response ( string content_type,
Ownership resp_owner,
string resp_body,
ulong resp_length ) ;
public void set_status ( uint status_code ) ;
public void set_status_full ( uint status_code,
string reason_phrase ) ;
public void set_uri ( Uri uri ) ;
Created by Valadoc