OptionalonClientConnect?: (client: string) => anyOptionalonClientDisconnect?: (client: string) => voidCallback for when a client disconnects (previously connected and the provider stops)
The relays to communicate over
Optionalsecret?: stringA random secret used to authorize clients to connect
Optionalsigner?: ISignerOptional signer for provider identity
The signer to use for signing events and encryption
Callback for when a client connects (receives a
connectrequest)