Websocket TCP Converter
Overview
This module converts websocket connections to upstream TCP connections.
This module enables browser Javascript to initiate Websocket connections to your endpoint and speak native TCP protocols like Redis, SQL database protocols, SSH, RDP and others directly to a backend service.
HTTP requests that are not websocket connections are rejected with HTTP 400 responses.
Example Usage
- Agent CLI
- Agent Config
- SSH
- Go
- Javascript
- Python
- Rust
- Kubernetes Controller
Loading…
Loading…
Loading…
Loading…
Go Package Docs:
Loading…
Javascript SDK Docs:
Loading…
Python SDK Docs:
Loading…
Rust Crate Docs:
The Websocket TCP Converter module is not yet supported in the ngrok Kubernetes Operator.
Behavior
This module reads and writes binary websocket messages because many of the protocols you'd like to speak across use binary encodings.
Reference
Configuration
This module does not support any configuration. It is either enabled or disabled.
Upstream Headers
This module does not add any upstream headers.
Errors
Code | HTTP Status | Error |
---|---|---|
ERR_NGROK_3206 | 400 | This error is returned if the HTTP request is not a Websocket Upgrade request. |
Events
This module does not populate any fields in events.
Edges
Websocket TCP Converter is an HTTPS Edge module which can be applied to Routes.
Pricing
This module is available on all plans.
Try it out
This documentation is incomplete. Please check back later, we appreciate your patience.