C# Class ChatterBox.Server.PushNotificationSender

Show file Open project: openpeer/ChatterBox Class Usage Examples

Public Methods

Method 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

Method 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 method

public PushNotificationSender ( ) : System
return System

PushNotificationSender() public method

public PushNotificationSender ( string chanellURI ) : System
chanellURI string
return System

PushNotificationSender() public method

public PushNotificationSender ( string chanellURI, NotificationType type ) : System
chanellURI string
type NotificationType
return System

SendNotification() public method

public SendNotification ( string payload ) : void
payload string
return void

SendNotification() public method

public SendNotification ( string channelURI, string payload, NotificationType type = NotificationType.Raw ) : void
channelURI string
payload string
type NotificationType
return void