C# Class SignalR.EventStream

Inheritance: SignalR.Hubs.Hub, IEventStream
Show file Open project: Buildstarted/SignalR.EventStream

Public Methods

Method 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

Method Description
DisconnectClient ( string clientId ) : void
EventStream ( ) : System

Method Details

Authorize() public method

public Authorize ( string authorizeFor = "authorized" ) : bool
authorizeFor string
return bool

Disconnect() public method

public Disconnect ( ) : void
return void

RaiseEvent() public method

public RaiseEvent ( string data ) : void
data string
return void

Send() public method

public Send ( object @event ) : void
@event object
return void

Send() public method

public Send ( string @event ) : void
@event string
return void

Send() public method

public Send ( string type, object @event ) : void
type string
@event object
return void

SendTo() public method

public SendTo ( string target, object @event ) : void
target string
@event object
return void

SendTo() public method

public SendTo ( string target, string @event ) : void
target string
@event string
return void

SendTo() public method

public SendTo ( string target, string type, object @event ) : void
target string
type string
@event object
return void