Esempio n. 1
0
 public ClientConfiguration(BoltOptions options = null)
 {
     Options = options ?? new BoltOptions();
     Serializer = new JsonSerializer();
     ExceptionWrapper = new JsonExceptionWrapper();
     EndpointProvider = new EndpointProvider(Options);
     SessionHandler = new ClientSessionHandler(Options);
     ProxyFactory = new ProxyFactory();
     ErrorProvider = new ClientErrorProvider(Options.ServerErrorHeader);
     ErrorHandling = new ErrorHandling();
     HttpMessageHandler = new HttpClientHandler();
 }
Esempio n. 2
0
 public JsonExceptionWrapperTest()
 {
     Subject = new JsonExceptionWrapper();
 }