public FfClient(FfConfig config) { if (config == null) { throw new ArgumentNullException(nameof(config)); } this.config = config; this.rng = RNGCryptoServiceProvider.Create(); this.config.Validate(); }
public FfHttpRequestHandler(FfConfig config, HttpResponseMessage mockResponse = null) { this.ffClient = new FfClient(config); this.mockResponse = mockResponse ?? new HttpResponseMessage(); }