WebSocket endpoints work through ngrok’s HTTP endpoints without any changes. However, there is currently no support for introspecting WebSockets beyond the initialDocumentation Index
Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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: