101 Switching Protocols response.
If you want to use WebSockets with HTTP, you only need one ngrok endpoint: you can start a server where listeners for both protocols share a single port.
What you’ll need
- Node.js installed on your machine.
- An ngrok account.
- Your ngrok authtoken.
1. Install dependencies
2. Create the server
Create aserver.js file:
3. Start ngrok
A single ngrok endpoint handles traffic for both protocols.wss:// scheme: