-
Notifications
You must be signed in to change notification settings - Fork 58
Transports
Any combination of clients, using different transports and serializations, can all communicate with each other through the same nexus router.
For all transports except the local transport, JSON, MessagePack, and CBOR serialization is available.
For all transports except the local transport, TLS is available.
Nexus uses the Gorilla WebSocket package as its websocket implementation.
The RawSocket transport works over TCP and Unix sockets. When configuring RawSocket clients or servers, a maximum receive size limit may be specified by either. This limits the maximum message size that a client or server is willing to receive. If not specified, the size limit is 16Mb.
The local transport, is a direct in-process connection between a client and the router. This is used to connect clients to the router when the clients are embedded in the same application as the router. Doing this eliminates the need for any socket and serialization overhead, and does not require authentication.
- Home
- Introduction
- Developer Reference Guide
- Operational Information
- System Design
- Additional Information