Back to Seed Clases

Soup


Classes

Interfaces

Structs

Unions

Enums

Struct Soup.MessageHeaders

Import line: Soup = imports.gi.Soup;
GIR File: Soup-2.4.gir
C documentation: SoupMessageHeaders
Struct : MessageHeaders
Properties
None
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Soup
Method
Soup.headers_parse (String str, gint32 len, MessageHeaders dest) : gboolean
Parses the headers of an HTTP request or response in str and
stores the results in dest.
Soup
Method
Soup.headers_parse_request (String str, gint32 len, MessageHeaders req_headers, Object out_values) : guint32
Parses the headers of an HTTP request in str and stores the
results in req_method, req_path, ver, and req_headers.
Soup
Method
Soup.headers_parse_response (String str, gint32 len, MessageHeaders headers, Object out_values) : gboolean
Parses the headers of an HTTP response in str and stores the
results in ver, status_code, reason_phrase, and headers.
Soup.Message
Property
request_headers : Soup.MessageHeaders read only
Soup.Message
Property
response_headers : Soup.MessageHeaders read only
Soup.MessageHeadersIter
Method
init (MessageHeaders hdrs) : none
Initializes iter for iterating hdrs.
Soup.Multipart
Method
new Soup.Multipart.from_message (MessageHeaders headers, MessageBody body) : Soup.Multipart
Create a new Soup.Multipart
Soup.Multipart
Method
append_part (MessageHeaders headers, Buffer body) : none
Adds a new MIME part to multipart with the given headers and body.
Soup.Multipart
Method
get_part (gint32 part, MessageHeaders headers, Buffer body) : gboolean
Gets the indicated body part from multipart.
Soup.Multipart
Method
to_message (MessageHeaders dest_headers, MessageBody dest_body) : none
Serializes multipart to dest_headers and dest_body.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:16:56 GMT+0800 (HKT)