summaryrefslogtreecommitdiff
path: root/samples/vala/sample.vala
blob: 1cec8cf2eb024ffadfa3a39f51d5aaa43a5eb8ef (plain)
1
2
3
4
5
6
7
8
9
using Libproxy;

void main () {
	var pf = new ProxyFactory ();
	string[] proxies = pf.get_proxies ("http://www.google.com");
	foreach (string proxy in proxies) {
		stdout.printf ("%s\n", proxy);
	}
}