Jump to content

Recommended Posts

Posted (edited)

I am trying to use WebSocket together with a regular HTTP server in Node.js. However, when the client attempts to establish a WebSocket connection, the server does not return the expected HTTP [101 Switching Protocols] response. Instead, it returns normal HTTP status codes such as [2xx] or [4xx].

I would like to know whether Tommy Server supports WebSocket upgrade requests or if there is any special configuration required to enable WebSocket connections alongside standard HTTP handling in Node.js

Edited by genwork

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...