Пример #1
0
 public RpcClient(Uri baseUrl, AuthenticationHeaderValue authHeaderValue = null,
                  JsonSerializerSettings jsonSerializerSettings          = null)
 {
     if (jsonSerializerSettings == null)
     {
         jsonSerializerSettings = DefaultJsonSerializerSettingsFactory.BuildDefaultJsonSerializerSettings();
     }
     this._innerRpcClient = new EdjCase.JsonRpc.Client.RpcClient(baseUrl, (AuthenticationHeaderValue)authHeaderValue, (JsonSerializerSettings)jsonSerializerSettings, null, null);
 }