コード例 #1
0
 /// <summary>
 /// Use this constructor when you are on the Remote Side, only
 /// </summary>
 public WebProxyClientProvider(Uri serviceUri, HttpClientHandler handler, Dictionary <string, string> scopeParameters = null, SerializationFormat serializationFormat = SerializationFormat.Json)
 {
     this.serviceUri          = serviceUri;
     this.httpRequestHandler  = new HttpRequestHandler(this.serviceUri, serializationFormat, handler, scopeParameters);
     this.serializationFormat = serializationFormat;
 }
コード例 #2
0
 public WebProxyClientProvider(Uri serviceUri, SerializationFormat serializationFormat)
 {
     this.serviceUri          = serviceUri;
     this.httpRequestHandler  = new HttpRequestHandler(this.serviceUri, serializationFormat);
     this.serializationFormat = serializationFormat;
 }