Wc
Object Hierarchy:
Description:
[
CCode ( type_id =
"grl_net_wc_get_type ()" ) ]
public class Wc :
Object
Content:
Properties:
Static methods:
Creation methods:
- public Wc ()
Creates a new Wc.
Methods:
- public void flush_delayed_requests ()
This method will flush all the pending request in the queue.
- public async bool request_async (string uri, Cancellable? cancellable, out unowned uint8[] content) throws Error
Request the fetching of a web resource given the uri.
- public async bool request_with_headers_async (string uri, Cancellable? cancellable, ..., out unowned uint8[] content) throws Error
Request the fetching of a web resource given the uri.
- public async bool request_with_headers_hash_async (string uri, HashTable<string,string>? headers, Cancellable? cancellable, out unowned uint8[] content) throws Error
Request the fetching of a web resource given the uri.
- public void set_cache (bool use_cache)
Sets if cache must be used.
- public void set_cache_size (uint cache_size)
Sets the new maximum size of cache, in Megabytes.
- public void set_log_level (uint log_level)
Setting the log level the logger feature is added into the libsoup
session.
- public void set_throttling (uint throttling)
Setting this property, the Wc will queue
all the requests and will dispatch them with a pause between them of this value.
Inherited Members:
All known members inherited from class GLib.Object