Endeavor class

Constructors

Endeavor({Map? cors = const {}, Map? basicAuth = const {}})

Properties

basicAuth Map?
getter/setter pair
cors Map?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createDELETEMap() → void
createGETMap() → void
createPATCHMap() → void
createPOSTMap() → void
createPUTMap() → void
createServer(int port, String host, {bool isShared = false}) Future<HttpServer>
createUPDATEMap() → void
DELETE(String path, Function fn) Future
GET(String path, Function fn) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
PATCH(String path, Function fn) Future
POST(String path, Function fn) Future
PUT(String path, Function fn) Future
runServer({dynamic server = '', String? host = '127.0.0.1', int port = 80, bool compress = true, bool isShared = false}) Future<void>
toString() String
A string representation of this object.
inherited
UPDATE(String path, Function fn) Future

Operators

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