Skip to content

Publishes events from the server to the client in a reasonably strong typed manner using SignalR

Notifications You must be signed in to change notification settings

jlogar/SignalEV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SignalEV

Publishes events from the server to a .NET client (wouldn't really make sense for a javascript client) in a reasonably strong typed manner using SignalR.

The name was kind of derived from SignalR and event. Could be pronounced [SignalEeewww] or [SignalEve]. Doesn't really matter does it?

Using it

Server

On the server side (Hub side) just publish an event using the IHubContext extension method Publish<TEvent>(TEvent @event).

Client

Register your event handling method using the IHubProxy extension method RegisterGenericHandler(Type[] types, object instance, MethodInfo handlerInfo).

TODO

  • maybe change the MemberInfo parameter type to an Expression or something...
  • nuget package

Credits

About

Publishes events from the server to the client in a reasonably strong typed manner using SignalR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published