Architecture
Outbound connector, independent relay, browser gateway
A lightweight .NET connector keeps a persistent outbound WebSocket open to the ASP.NET Core relay. The Next.js control plane stores organizations, grants, sessions, audit events, and service policy in PostgreSQL.
Browser
HTTPS
HTTPS
Gatehouse Relay
multiplexed WebSocket
multiplexed WebSocket
Gatehouse Connector
private HTTP
private HTTP
Internal Service
allow-listed target
allow-listed target
HELLO/WELCOME handshake
Per-stream sequence numbers
Flow-control windows
Epoch rejection for stale messages