Pneuma class

Constructors

Pneuma({String host, int port, String baseUrl: '/'})

Properties

baseUrl String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
host String
final
port int
final
requestTimeoutDuration Duration
read / write
responseDeadline Duration
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status ServerStatus
read-only
statusStream Stream<ServerStatus>
read-only

Methods

addDefaultHeaders(Map<String, Object> headers) → void
clearDefaultHeaders() → void
delete(dynamic path, dynamic handler) Pneuma
get(dynamic path, dynamic handler) Pneuma
match(dynamic path, dynamic handler, {RequestMethod method}) Pneuma
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(dynamic path, dynamic handler) Pneuma
post(dynamic path, dynamic handler) Pneuma
put(dynamic path, dynamic handler) Pneuma
removeDefaultHeader(String name) → void
start() Future<Pneuma>
stop({bool force: false}) Future
toString() String
Returns a string representation of this object.
inherited
use(Middleware middleware) Pneuma
useAll(List<Middleware> middlewares) Pneuma

Operators

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