C# Class SignalR.EventStream

Inheritance: SignalR.Hubs.Hub, IEventStream
Afficher le fichier Open project: Buildstarted/SignalR.EventStream

Méthodes publiques

Méthode Description
Authorize ( string authorizeFor = "authorized" ) : bool
Disconnect ( ) : void
RaiseEvent ( string data ) : void
Send ( object @event ) : void
Send ( string @event ) : void
Send ( string type, object @event ) : void
SendTo ( string target, object @event ) : void
SendTo ( string target, string @event ) : void
SendTo ( string target, string type, object @event ) : void

Private Methods

Méthode Description
DisconnectClient ( string clientId ) : void
EventStream ( ) : System

Method Details

Authorize() public méthode

public Authorize ( string authorizeFor = "authorized" ) : bool
authorizeFor string
Résultat bool

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

RaiseEvent() public méthode

public RaiseEvent ( string data ) : void
data string
Résultat void

Send() public méthode

public Send ( object @event ) : void
@event object
Résultat void

Send() public méthode

public Send ( string @event ) : void
@event string
Résultat void

Send() public méthode

public Send ( string type, object @event ) : void
type string
@event object
Résultat void

SendTo() public méthode

public SendTo ( string target, object @event ) : void
target string
@event object
Résultat void

SendTo() public méthode

public SendTo ( string target, string @event ) : void
target string
@event string
Résultat void

SendTo() public méthode

public SendTo ( string target, string type, object @event ) : void
target string
type string
@event object
Résultat void