C# Class PusherServer.RestfulClient.AuthenticatedRequestFactory

Factory that creates authenticated requests to send to the Pusher API
Inheritance: IAuthenticatedRequestFactory
Afficher le fichier Open project: pusher/pusher-http-dotnet Class Usage Examples

Méthodes publiques

Méthode Description
AuthenticatedRequestFactory ( string appKey, string appId, string appSecret ) : System

Constructs a new Autheticated Request Factory

Build ( PusherMethod requestType, string resource, object requestParameters = null, object requestBody = null ) : IPusherRestRequest

Private Methods

Méthode Description
GetQueryString ( object requestParameters, object requestBody ) : string>.SortedDictionary
GetStringBuilderfromSourceObject ( object sourceObject ) : string>.SortedDictionary

Method Details

AuthenticatedRequestFactory() public méthode

Constructs a new Autheticated Request Factory
public AuthenticatedRequestFactory ( string appKey, string appId, string appSecret ) : System
appKey string Your app Key for the Pusher API
appId string Your app Id for the Pusher API
appSecret string Your app Secret for the Pusher API
Résultat System

Build() public méthode

public Build ( PusherMethod requestType, string resource, object requestParameters = null, object requestBody = null ) : IPusherRestRequest
requestType PusherMethod
resource string
requestParameters object
requestBody object
Résultat IPusherRestRequest