Palace class
Properties
-
guards
→ List<Guard>
-
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
notFoundHandler
↔ Handler
-
get the not found handler id none was assigned it will return the defaults 404 handler;
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
all(String path, Handler handler, {List<Guard> guards = const []})
→ void
-
-
closeGates()
→ Future<void>
-
-
delete(String path, Handler handler, {List<Guard> guards = const []})
→ void
-
-
get(String path, Handler handler, {List<Guard> guards = const []})
→ void
-
-
match(String method, String path)
→ EndPoint?
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openGates({int port = 3000, bool enableLogs = true})
→ Future<void>
-
-
patch(String path, Handler handler, {List<Guard> guards = const []})
→ void
-
-
post(String path, Handler handler, {List<Guard> guards = const []})
→ void
-
-
put(String path, Handler handler, {List<Guard> guards = const []})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
use(Guard guard)
→ void
-
assign
Guard
to work globally on any request with any method