Ported to WinRT C#

Oct 10, 2013 at 10:52 PM
I've ported this project to WinRT. Enjoy.

https://socketio4winrt.codeplex.com/

I hope it's useful to someone.

Chris Bordeman
Coordinator
Oct 11, 2013 at 9:01 PM
Nice - thank you for sharing - it looks great.

Curious, did you have a particular use case in mind for the userId/password for ConnectAsync (or just simplified method of adding to cookies and/or headers)?
Task ConnectAsync(string userId = null, string password = null);
In the updated version I've been working on since Nice shared his updates, I too have added ConnectAsync to leverage await functionality...but have been working on that signature.

Jim
Oct 11, 2013 at 9:29 PM
This signature doesn't do anything yet with the userId and password except throw an exception. It's still in alpha. Will update soon, I promise!

It was necessary to make the method async because many WinRT methods are async only.