Dpress class
Constructors
- Dpress.new({int port = 8080, String address = "localhost"})
Properties
Methods
-
addRoute(
String path, String method, void handler(DpressRequest, DpressResponse)) → void -
delete(
String path, RouteHandler handler) → void -
get(
String path, RouteHandler handler) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(
String path, RouteHandler handler) → void -
post(
String path, RouteHandler handler) → void -
put(
String path, RouteHandler handler) → void -
start(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited