WebServer class
Constructors
-
WebServer.new({dynamic host, dynamic port, List<
QDotRoute> ? routes, List<String> filetypes = const ['css', 'js', 'ico']})
Properties
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