public WebPushConnection(WebPushConfiguration configuration) { Configuration = configuration; http = new HttpClient(); http.DefaultRequestHeaders.UserAgent.Clear(); http.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("PushSharp", "3.0")); }
public WebPushServiceConnectionFactory(WebPushConfiguration configuration) { Configuration = configuration; }
public WebPushServiceBroker(WebPushConfiguration configuration) : base(new WebPushServiceConnectionFactory(configuration)) { }