Ejemplo n.º 1
0
        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;
 }
Ejemplo n.º 3
0
 public WebPushServiceBroker(WebPushConfiguration configuration) : base(new WebPushServiceConnectionFactory(configuration))
 {
 }