Skip to content

NVentimiglia/SignalR-Unity3d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
connection.Start();

About

SignalR protocol 1.2 client for Unity3d

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.9%
  • Classic ASP 0.1%