Back to Seed Clases

Soup


Classes

Interfaces

Structs

Unions

Enums

Struct Soup.MessageBody

Import line: Soup = imports.gi.Soup;
GIR File: Soup-2.4.gir
C documentation: SoupMessageBody
Struct : MessageBody
  Show / Hide Inherited methods, properties and signals
A SoupMessage request or response body. Note that while length always reflects the full length of the message body, data is normally NULL, and will only be filled in after soup_message_body_flatten() is called. For client-side messages, this automatically happens for the response body after it has been fully read, unless you set the SOUP_MESSAGE_OVERWRITE_CHUNKS flags. Likewise, for server-side messages, the request body is automatically filled in after being read. As an added bonus, when data is filled in, it is always terminated with a '\0' byte (which is not reflected in length).
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Soup.MessageBody ()
Create a new Soup.MessageBody
Create a new Soup.MessageBody
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Soup.Message
Property
request_body : Soup.MessageBody read only
Soup.Message
Property
response_body : Soup.MessageBody read only
Soup.Multipart
Method
new Soup.Multipart.from_message (MessageHeaders headers, MessageBody body) : Soup.Multipart
Create a new Soup.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 Tue Jun 22 2010 16:35:00 GMT+0800 (HKT)