internal WebSubSubscriber(HttpClient httpClient, IWebSubDiscoverer webSubDiscoverer) { _httpClient = httpClient; _webSubDiscoverer = webSubDiscoverer; }
private WebSubSubscriber PrepareWebSubRocksWebSubSubscriber(HttpClient webSubRocksHttpClient = null, IWebSubDiscoverer webSubRocksDiscoverer = null) { webSubRocksHttpClient = webSubRocksHttpClient ?? new HttpClient(new WebSubRocksHttpMessageHandler()); webSubRocksDiscoverer = webSubRocksDiscoverer ?? new WebSubRocksDiscoverer(); return(new WebSubSubscriber(webSubRocksHttpClient, webSubRocksDiscoverer)); }