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
  Show / Hide Inherited methods, properties and signals
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, Number len, MessageHeaders dest) : Boolean
and the trailing blank line) 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, Number len, MessageHeaders req_headers, Object out_values) : Number
request method request path version 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, Number len, MessageHeaders headers, Object out_values) : Boolean
version the status code the reason phrase 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
structure 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
get_part (Number part, MessageHeaders headers, Buffer body) : Boolean
Gets the indicated body part from 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
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 Tue Jun 22 2010 16:35:00 GMT+0800 (HKT)