MessageBody


Object Hierarchy:

Soup.MessageBody Soup.MessageBody Soup.MessageBody

Description:

[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "soup_message_body_get_type ()" ) ]
[ Compact ]
public class MessageBody

A Message 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 flatten is called. For client-side messages, this automatically happens for the response body after it has been fully read, unless you set the 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 ).


Namespace: Soup
Package: libsoup-2.4

Content:

Creation methods:

Methods:

Fields:




2022 vala-language.org