What are Node.js + Faye Supported transport protocols
سؤال
I was looking into Faye and socket-IO, socket-IO degrades to websockets, flash sockets, JSONP and such, but what are all the supported transport methods faye supports? Does it support flashsockets? Also does it support Multi-channels?
المحلول
Websocket, xhr, JSONP.
It also has CORS which seems to be something to do with Cross origin resource sharing
No sign of flash sockets so far.
نصائح أخرى
Faye uses WebSocket, XMLHttpRequest, CORS and JSON-P in order of preference. Each client can subscribe to as many channels as you like.
لا تنتمي إلى StackOverflow