OptionalenableOptionaleoseHow long to wait for an EOSE message (default 10s)
OptionaleventHow long to wait for an OK message from the relay (default 10s)
OptionalkeepHow long to keep the connection alive after nothing is subscribed (default 30s)
OptionalpingHow often to send pings in milliseconds (default 29000)
OptionalpingHow long to wait for EOSE response in milliseconds (default 20000)
OptionalpublishDefault retry config for publish() method
OptionalpublishHow long to wait for a publish to complete (default 30s)
OptionalrequestDefault retry config for request() method
OptionalsubscriptionDefault retry config for subscription() method
OptionalWebCustom WebSocket implementation
Enable/disable ping functionality (default false)