WebSharper does not specifically support websockets. You can program websocket code in WebSharper yourself - note that you will probably want to use IIS8/.NET 4.5 because earlier versions do not support websockets.

If you want to push messages from the server to the client you have to define your own protocol for this on top of a polling async loop executed by the client. The downside is that polling loops have performance implications and are limited in responsiveness.

By on 5/21/2012 11:12 AM ()

Just to clarify, WebSharper supports the HTML5 WebSockets API, this makes it pretty efficient to communicate between the server and the client. You will need modern browsers on the client side, naturally.

By on 5/22/2012 10:29 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper