DVDocsServer class

Answers the requests under DVDocsMount.path.

Constructors

DVDocsServer({required DVDocsMount mount, required String root, DVAdminMount adminMount = const DVAdminMount(path: '/__studio', enabled: true, requiresAuth: true), Future<bool> authenticated(Request request)?})

Properties

adminMount → DVAdminMount
Studio's mount: its sign-in is where a signed-out reader is sent.
final
hashCode → int
The hash code for this object.
no setterinherited
mount → DVDocsMount
final
root → String
The directory holding the compiled site, docs.json and graph.json.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
respond(Request request) → Future<Response?>
The answer to request, or null for the application to answer.
toString() → String
A string representation of this object.
inherited

Operators

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