Dpress class

Constructors

Dpress.new({int port = 8080, String address = "localhost"})

Properties

address String
final
hashCode int
The hash code for this object.
no setterinherited
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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