Sign inSign up

translucency/websocket-bridge

By translucency

Updated 7 months ago

An ASP.NET Core native-AOT project for bridging two client websocket connections

Image
Internet of things
0

2.5K

translucency/websocket-bridge repository overview

WebSocket Bridge

An ASP.NET Core Native AOT project for bridging websocket clients.

Build Status

Quickstart (Docker):

docker run -d --name ws-bridge --restart unless-stopped -p 5003:8080  translucency/websocket-bridge:latest

Two websocket clients can then connect to wss://{server-host}/bridge/{guid}/{access-token} to have their connections bridged.

Each client can provide an optional timeout (in seconds) to indicate how long to wait for the other client to connect. If omitted, the default of 10 seconds will be used.

If 0 is specified, the server will wait indefinitely for the other client to connect.

Example with timeout:

wss://{server-host}/bridge/{guid}/{access-token}?timeout=60

Tag summary

Content type

Image

Digest

sha256:5df15a4ad

Size

74.1 MB

Last updated

11 months ago

docker pull translucency/websocket-bridge