node.js - What happens when WebSockets aren't supported using socket.io? -
what happpens when current environment not support websockets using socket.io?
all socket.io connections default connect using longpolling. if connected automatically attempt upgrade connection use websockets. if websocket connection succeeds continue use websocket communication. if unsuccessful, continue communicate using longpolling.
Comments
Post a Comment