Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (24 sloc) 0.451 kB
using Soup;
namespace ValaShorten
{
public abstract class Shortener
{
public string long_url;
public string short_url;
public string error;
public bool success;
protected SessionAsync session;
public Shortener()
{
this.long_url = "";
this.short_url = "";
this.session = new SessionAsync();
}
public Shortener.with_url(string url)
{
this();
this.long_url = url;
}
public abstract bool shorten();
}
}
Jump to Line
Something went wrong with that request. Please try again.