juno icon indicating copy to clipboard operation
juno copied to clipboard

Allows a custom websocket address to be specified

Open RiccardoM opened this issue 4 years ago • 0 comments

Feature description

Currently the websocket endpoint is computed as <rpc.address>/websocket, however this might be reductive for some cases where people want to specify a custom websocket endpoint.

Implementation proposal

We can add a new field to the rpc section:

[rpc]
addres = ""
websocket = ""

If websocket is specified, use that one. Otherwise, use rpc.address/websocket as the websocket endpoint.

RiccardoM avatar Aug 20 '21 05:08 RiccardoM