public Api(Hudson.Internal.IRequestProxy rp) { if (rp == null) { throw new Exception("You cannot pass a null RequestProxy object to me"); } this.requestProxy = rp; }
public Api(string host, int port) { this.requestProxy = new Hudson.Internal.RequestProxy(host, port); }
public Api() { this.requestProxy = new Hudson.Internal.RequestProxy(); }