Example #1
0
 /// <summary>
 /// Get the base web service url
 /// </summary>
 /// <returns>The base web service url</returns>
 protected virtual string GetBaseWebServiceUrl()
 {
     return(WebServiceConfig.GetWebServiceUri());
 }
Example #2
0
 /// <summary>
 /// Gets a HTTP client based on configuration values
 /// </summary>
 /// <returns>A HTTP client</returns>
 public static HttpClient GetDefaultClient()
 {
     return(GetClient(new Uri(WebServiceConfig.GetWebServiceUri()), WebServiceConfig.GetWebServiceTimeout()));
 }