Websocket support

0 votes
asked Aug 25, 2016 by Prabhakar (610 points)

Any plans to provide websocket support in Xamarin?

Applies to: Total Pack

1 Answer

0 votes
answered Aug 25, 2016 by Lukas Pokorny (120,490 points)
edited May 16, 2018 by Lukas Pokorny

System.Net.WebSockets namespace is already available on Xamarin, although it doesn't support TLS 1.2 on all platforms.

However, we implemented a simple multiplatform WebSocket library that uses TLS/SSL and HTTP API provided by Rebex.Networking assembly. We are considering whether to release it to the public.

This means that our implementation support TLS 1.2 on all platforms, including Xamarin.Android/Xamarin.iOS, .NET 2.0/3.5, .NET CF 3.5/3.9 and .NET 4.0 on Windows 7 or earlier (where System.Net.WebSockets is not implemented).

...