ClearCanvas.Common.Rest.RestClient.RestClient C# (CSharp) Method

RestClient() public method

Constructs a REST client for the specified base URL.
public RestClient ( string baseUrl ) : System
baseUrl string
return System
		public RestClient(string baseUrl)
		{
			_baseUrl = new Uri(baseUrl);
			Timeout = TimeSpan.FromMilliseconds(DefaultTimeout);
			Headers = new Dictionary<HttpRequestHeader, string>();
		}