C# Class IronPigeon.Relay.GooglePushNotifications

显示文件 Open project: AArnott/IronPigeon

Public Methods

Method Description
GooglePushNotifications ( ) : System
GooglePushNotifications ( HttpClient httpClient, string apiKey, string registrationId ) : System
PushGoogleRawNotificationAsync ( CancellationToken cancellationToken ) : Task

Private Methods

Method Description
PushGoogleUpdateAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Method Details

GooglePushNotifications() public method

public GooglePushNotifications ( ) : System
return System

GooglePushNotifications() public method

public GooglePushNotifications ( HttpClient httpClient, string apiKey, string registrationId ) : System
httpClient System.Net.Http.HttpClient
apiKey string
registrationId string
return System

PushGoogleRawNotificationAsync() public method

public PushGoogleRawNotificationAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task