WebServer class

Constructors

WebServer({dynamic host, dynamic port, List<QDotRoute>? routes, List<String> filetypes = const ['css', 'js', 'ico']})

Properties

filetypes ↔ List<String>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
routes ↔ HashMap<RegExp, QDotRoute>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFileType(String type) → dynamic
handleRequest(HttpRequest request) → Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() → Future
toString() → String
A string representation of this object.
inherited

Operators

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