ReviewLocalServer class final
Local HTTP server bound strictly to 127.0.0.1 that syncs browser visual
review highlights and comments with <reviewDirectoryName>/comments.json
and <reviewDirectoryName>/feedback.md.
Properties
- address → InternetAddress
-
Bound address (always
127.0.0.1).no setter - config → ReviewProjectConfig
-
final
- feedbackRelativePath → String
-
Repository-relative POSIX path to
feedback.md.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- origin → String
-
Base loopback origin URL for this server.
no setter
- port → int
-
Bound TCP port on
127.0.0.1.no setter - repoRoot → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- site → String
-
final
- store → ReviewCommentStore
-
final
Methods
-
close(
{bool force = false}) → Future< void> - Stops accepting requests and closes the underlying HttpServer.
-
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
Static Methods
-
start(
{required String repoRoot, String? site, int preferredPort = defaultReviewServerPort, ReviewProjectConfig? config, String? reviewDirectoryName, String? cliResolveCommand}) → Future< ReviewLocalServer> -
Starts the local review server on
127.0.0.1, tryingpreferredPort(4099by default) first and automatically falling back to an OS-assigned ephemeral port (0) ifpreferredPortis already occupied.