socket.io-bridge-server

Real-time bidirectional event-based communication between two socket.io clients

Usage no npm install needed!

<script type="module">
  import socketIoBridgeServer from 'https://cdn.skypack.dev/socket.io-bridge-server';
</script>

README

socket.io-bridge-server

Server implementation for socket.io-bridge.

Please find the project documentation at https://github.com/michaelfranzl/socket.io-bridge .

API Reference

Functions

makeBridgeServer(opts)

Adds client-client bridging capability to a Socket.IO namespace.

Typedefs

Namespace

makeBridgeServer(opts)

Adds client-client bridging capability to a Socket.IO namespace.

Kind: global function

Param Type Description
opts Object
opts.namespace Namespace
[opts.logger] Object No logging by default

Namespace

Kind: global typedef
See: https://github.com/socketio/socket.io/blob/master/docs/API.md#namespace