C# Class ChatterBox.Server.PushNotificationSender

Afficher le fichier Open project: openpeer/ChatterBox Class Usage Examples

Méthodes publiques

Méthode Description
PushNotificationSender ( ) : System
PushNotificationSender ( string chanellURI ) : System
PushNotificationSender ( string chanellURI, NotificationType type ) : System
SendNotification ( string payload ) : void
SendNotification ( string channelURI, string payload, NotificationType type = NotificationType.Raw ) : void

Private Methods

Méthode Description
GetHeaderType ( NotificationType type ) : string
HandleError ( HttpStatusCode errorCode, string channelURI, string payload ) : void
OnAuthenticated ( ) : void
SetHeaders ( NotificationType type, WebClient client ) : void
StoreNotificationForSending ( string channelURI, string payload ) : void

Method Details

PushNotificationSender() public méthode

public PushNotificationSender ( ) : System
Résultat System

PushNotificationSender() public méthode

public PushNotificationSender ( string chanellURI ) : System
chanellURI string
Résultat System

PushNotificationSender() public méthode

public PushNotificationSender ( string chanellURI, NotificationType type ) : System
chanellURI string
type NotificationType
Résultat System

SendNotification() public méthode

public SendNotification ( string payload ) : void
payload string
Résultat void

SendNotification() public méthode

public SendNotification ( string channelURI, string payload, NotificationType type = NotificationType.Raw ) : void
channelURI string
payload string
type NotificationType
Résultat void