connect
Open the WebSocket connection to url. Must block (or suspend) until the connection is established and ready to send frames.
Parameters
url
Full wss:// URL including query params (e.g. wss://idp.eidkit.ro/v3/nfc-relay?session=<token>)
on Frame
Callback invoked on the transport's receive thread for each incoming JSON text frame.
Throws
if the connection could not be established.