WebServer class

Constructors

WebServer()

Properties

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

Methods

delete(String path, RequestEndpoint endpoint, {List<RequestHandler> middlewares = const []}) → void
get(String path, RequestEndpoint endpoint, {List<RequestHandler> middlewares = const []}) → void
listen(int port) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
options(String path, RequestEndpoint endpoint, {List<RequestHandler> middlewares = const []}) → void
patch(String path, RequestEndpoint endpoint, {List<RequestHandler> middlewares = const []}) → void
post(String path, RequestEndpoint endpoint, {List<RequestHandler> middlewares = const []}) → void
put(String path, RequestEndpoint endpoint, {List<RequestHandler> middlewares = const []}) → void
toString() String
A string representation of this object.
inherited
use(RequestHandler handler, {String? method}) → void

Operators

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