Wc
Object Hierarchy:
Description:
Namespace: GrlNet
Package: grilo-net-0.3
Content:
Properties:
- public bool cache { get; set construct; }
- public uint cache_size { get; set construct; }
- public uint loglevel { get; set; }
- public uint throttling { get; set; }
- public string user_agent { owned get; set construct; }
Static methods:
- public static Quark error_quark ()
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