C# 클래스 Pushover.PushoverClient

파일 보기 프로젝트 열기: mattmelling/pushover-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
Push ( IPushoverMessage message ) : void

Push a new message

PushoverClient ( string apiKey ) : System

Create a new Pushover client.

PushoverClient ( string apiKey, string endpoint ) : System

Create a new Pushover client

비공개 메소드들

메소드 설명
GetResponseText ( WebResponse response ) : string

Read the response out as a string

ProcessErrorResponse ( string response ) : string

Parses an error response and returns an error description

메소드 상세

Push() 공개 메소드

Push a new message
public Push ( IPushoverMessage message ) : void
message IPushoverMessage The message to push
리턴 void

PushoverClient() 공개 메소드

Create a new Pushover client.
public PushoverClient ( string apiKey ) : System
apiKey string Your Pushover API key
리턴 System

PushoverClient() 공개 메소드

Create a new Pushover client
public PushoverClient ( string apiKey, string endpoint ) : System
apiKey string Your pushover API key
endpoint string Alternative XML endpoint to push messages to
리턴 System