SignalR protocol 1.2 client for Unity3d
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 6 commits ahead, 1 commit behind jenyayel:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

SignalR Client for .NET 2.0

Build status

Client for SignalR which supports protocol 1.2 targeting .NET 2.0. The library can be easily compiled into Unity3D projects.

Client and server samples located under demo folder. Client's API is the same as for the standard/original SignalR client library:

// setup proxy
HubConnection connection = new HubConnection("http://localhost:58438/");
IHubProxy proxy = connection.CreateProxy("TestHub");

// subscribe to event
proxy.Subscribe("ClientPing").Data += data =>
  JToken data = data[0] as JToken;
  Console.WriteLine("Received push from server: [{0}]}", data["message"].ToString());

// start connection