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(); }
public JsonExceptionWrapperTest() { Subject = new JsonExceptionWrapper(); }