RemoteObservantController class

The explicit ObservANT address, kept per browser, and the state of the connection to it.

Constructors

RemoteObservantController(RemoteObservantPlatform _platform, {Duration timeout = const Duration(seconds: 8), Duration promptTimeout = const Duration(seconds: 60)})

Properties

access → dynamic
What the browser will do with a request to origin; null without one.
no setter
hashCode → int
The hash code for this object.
no setterinherited
origin → Uri?
The explicit address; null while the page asks its own origin.
no setter
page → Uri
The page's own address, for the panel's hints.
no setter
promptTimeout → Duration
How long a probe may wait while Chrome's local-network prompt asks the visitor.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → ObservantConnectionStatus
no setter
timeout → Duration
How long one probe may take; one on a socket that died unnoticed would otherwise wait for minutes.
final

Methods

check() → Future<void>
Probes /healthz at the explicit address, after the decisions the browser would make anyway.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(String path) → String
path on the explicit ObservANT, or path itself, which the browser resolves against the page.
setAddress(String text) → Future<void>
Takes a typed address: an invalid one changes nothing but the status, a valid one is saved and checked.
toString() → String
A string representation of this object.
inherited

Operators

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