DefaultChannel class abstract base

Inheritance
Mixed in types

Constructors

DefaultChannel()

Properties

eventHub ApplicationEventHub
finalinherited
hashCode int
The hash code for this object.
no setterinherited
notFoundHandler Handler
no getterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String method, String route, Function handler, {Middleware? middleware}) → void
inherited
call(Request request) FutureOr<Response>
Route incoming requests to registered handlers.
inherited
connect(String route, Function handler) → void
Handle CONNECT request to route using handler.
inherited
delete(String route, Function handler) → void
Handle DELETE request to route using handler.
inherited
dispose() Future<void>
inherited
emitEvent<T>(T event) → void
inherited
entryPoint() → void
inherited
get(String route, Function handler) → void
Handle GET request to route using handler.
inherited
group(String prefix) RouterGroup
inherited
Handle HEAD request to route using handler.
inherited
initialize(ApplicationOptions options) Future<void>
The configuration options used to start the application this channel belongs to.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEvent<T>(void listener(T data)) → void
inherited
options(String route, Function handler) → void
Handle OPTIONS request to route using handler.
inherited
patch(String route, Function handler) → void
Handle PATCH request to route using handler.
inherited
post(String route, Function handler) → void
Handle POST request to route using handler.
inherited
prepare() Future<void>
inherited
put(String route, Function handler) → void
Handle PUT request to route using handler.
inherited
toString() String
A string representation of this object.
inherited
trace(String route, Function handler) → void
Handle TRACE request to route using handler.
inherited

Operators

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