Method

SoupMessageBodyappend_take

Declaration [src]

void
soup_message_body_append_take (
  SoupMessageBody* body,
  guchar* data,
  gsize length
)

Description [src]

Appends length bytes from data to body.

This function is exactly equivalent to soup_message_body_append() with SOUP_MEMORY_TAKE as second argument; it exists mainly for convenience and simplifying language bindings.

Parameters

data An array of guchar
 

Data to append.

 The length of the array is specified in the length argument.
 The instance takes ownership of the data, and is responsible for freeing it.
length gsize
 

Length of data.