OptionaliconUrl: stringOptionalappUrl: stringProtected_isThe status of the transport
ProtectedclientThe client handling the encryption/decryption of messages
Protected ReadonlynameThe name of the app
Protected OptionalnewThe listener that will be invoked when a new peer is connected
Protected ReadonlypeerReadonlytypeThe type of the transport
Return the status of the connection
Add a listener to be called when a new message is received
The listener that will be registered
Optional_sendPairingResponse: booleanConnect the transport
Disconnect the transport
ProtectednotifyNotify the listeners when a new message comes in
Message
Context info about the connection
Remove a listener
Send a message through the transport
The message to send
Optionalpeer: PeerInfoStaticisReturns a promise that resolves to true if the transport is available, false if it is not
Internalapi