-
-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
I have a websocket connection that expects a JSON-RPC envelope (Holochain). To support this I need to wrap the message that is sent over the websocket in the SignalingConn class. It would be great if the class would be defined as a constructor argument so it would not be needed to override the WebrtcProvider.connect(). Alternatively the SignalingConn class could be returned by a getSignalingConnectionClass() hook that can be overrided more easily.
Line 595 in 5fffe6b
| const signalingConn = map.setIfUndefined(signalingConns, url, () => new SignalingConn(url)) |
ollietreend
Metadata
Metadata
Assignees
Labels
No labels