Skip to content

FOGProject/SailsSocketIOClientDotNet

Repository files navigation

SailsSocketIOClientDotNet

A Sails Socket IO Client for Dot Net

Build status

Usage

SailsSocketIoClientDotNet has a similar api to those of sail's JavaScript client. It is built directly ontop of SocketIoClientDotNet.

using FOG.SailsSocketIoClientDotNet;

// For direct access to the underlying socket use client.Socket
var client = new SailsClient("http://localhost");

var response = await client.Get("/csrfToken", null); 
Console.WriteLine("Response code: " + response.statusCode);
Console.WriteLine("CSRF Token: " + response.Body["_csrf"]);

About

A Sails Socket IO Client for Dot Net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published