ServingAssistent class

Constructors

ServingAssistent(Uri pubServeUrl, VirtualDirectory vd)

Properties

client HttpClient
final
hashCode int
The hash code for this object. [...]
read-only, inherited
pubServeUrl Uri
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
vd VirtualDirectory
final

Methods

just_serve(HttpRequest request, String root, String path) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
proxyToPub(HttpRequest request, String path) Future
read(String root, String path) Future<Stream<List<int>>>
readFromFile(String root, String path) Future<Stream<List<int>>>
readFromPub(String path) Future<Stream<List<int>>>
serve(HttpRequest request, String root, String path) Future
serveFromFile(HttpRequest request, String path) Future
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited