OptionalpasswordThe instance password of the api. Only required if the API runs in private mode.
OptionalrtcA factory creating RTCPeerConnection instances, used by the P2P transfer
classes. Defaults to the global RTCPeerConnection; supply your own in
runtimes without one (for example node-datachannel in Node).
OptionalwebThe WebSocket constructor used to reach the signaling gateway.
Defaults to the global WebSocket (native in browsers and Node >= 22).
The base URL of the API with a trailing slash.