get_as_string


Description:

public string get_as_string (string url, Cancellable? cancellable = null) throws Error

Retrieves the content at the given URL as a string.

Parameters:

url

The URL for the content to get as a string

cancellable

a GLib.Cancellable

Returns:

the content at the URL as a string

Exceptions:

GLib.Error

if an error occurs while downloading the content


Namespace: Catalyst.HttpUtils
Package: catalyst-1