public RestClientBase(string serviceUrl, IRestAuthentication authentication) { Guard.NotNull("authentication", authentication); this.serviceUrl = new Uri(EnsureTrailingSlash(serviceUrl)); this.authentication = authentication; serializer = JsonSerializer.CreateDefault(); }
public SecureRestClient(string baseUri, IRestAuthentication authentication, ServerCertificateValidator serverCertificateValidator = null) : base(baseUri) { authentication.AddClientAuthentication(this); _authentication = authentication; _serverCertificateValidator = serverCertificateValidator; _certificateCallbackSubscribed = false; }
public StargateClient(string serviceUrl, IRestAuthentication authentication) : base(serviceUrl, authentication) { }
public StargateClient(string serviceUrl, IRestAuthentication authentication) : base(serviceUrl, authentication) { }