DSShelfCore class

Core DSL for building a ds_shelf-powered server with middleware and routing.

Implementers

Constructors

DSShelfCore()
Initialize core middleware and server configurations.

Properties

handler Handler
Composed handler with all registered middleware and routes.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addGetRoute(String path, Handler handler) → void
Utility to register a GET route easily.
addMiddleware(Middleware middleware) → void
Adds a middleware to the pipeline.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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