Pharaoh class abstract

Implementers

Constructors

Pharaoh.new()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
no setter
viewEngine ViewEngine?
getter/setter pair

Methods

delete(String path, RequestHandler hdler) → void
inherited
get(String path, RequestHandler hdler) → void
inherited
group(String path, RouterContract router) Pharaoh
handleRequest(HttpRequest httpReq) → void
inherited
listen({int port = 3000}) Future<Pharaoh>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(String path, Middleware hdler, {HTTPMethod method = HTTPMethod.ALL}) → void
inherited
onError(OnErrorCallback onError) → void
options(String path, RequestHandler hdler) → void
inherited
patch(String path, RequestHandler hdler) → void
inherited
post(String path, RequestHandler hdler) → void
inherited
put(String path, RequestHandler hdler) → void
inherited
shutdown() Future<void>
toString() String
A string representation of this object.
inherited
trace(String path, RequestHandler hdler) → void
inherited
use(Middleware middleware) → void
inherited
useSpanner(Spanner spanner) → void

Operators

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

Static Properties

router → RouterContract
no setter