BrowserBridgeSession class final

One pairing session: where to point the extension and the fresh one-time token it must present in its hello. alreadyRunning distinguishes a newly started bridge from a reused one.

Constructors

BrowserBridgeSession({required String url, required String token, required bool alreadyRunning})
const

Properties

alreadyRunning → bool
True when the bridge was already up and only the token rotated.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → String
Fresh pairing token (32-byte hex). Invalidates every earlier token.
final
url → String
The WebSocket endpoint, e.g. ws://127.0.0.1:8777/ws.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited