Back to Seed Clases

Soup


Classes

Interfaces

Structs

Unions

Enums

Enum Soup.MemoryUse

Import line: Soup = imports.gi.Soup;
GIR File: Soup-2.4.gir
C documentation: SoupMemoryUse
Enum : MemoryUse
  Show / Hide Inherited methods, properties and signals
constant; libsoup can use the passed-in buffer directly and not need to worry about it being modified or freed. SoupBuffer's use; libsoup will assume ownership of it and free it (with g_free()) when it is done with it. SoupBuffer will copy it into new memory, leaving the caller free to reuse the original memory. but will remain valid for the lifetime of the SoupBuffer. The difference between this and SOUP_MEMORY_STATIC is that if you copy a SOUP_MEMORY_TEMPORARY buffer, it will make a copy of the memory as well, rather than reusing the original memory. Describes how SoupBuffer should use the data passed in by the caller. See also soup_buffer_new_with_owner(), which allows to you create a buffer containing data which is owned by another object.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Soup.Message
Method
set_request (String content_type, MemoryUse req_use, String req_body, Number req_length) : none
Convenience function to set the request body of a SoupMessage.
Soup.Message
Method
set_response (String content_type, MemoryUse resp_use, String resp_body, Number resp_length) : none
containing the body of the message response.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:35:00 GMT+0800 (HKT)