KiteServer class

The kite_http server

Constructors

KiteServer({String listen = "0.0.0.0", int port = 8080})
Create new instace of KiteServer

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

handle(HandlerMetadata route, RequestHandler handler) → void
Register handler
listen() → void
Listen for incoming requests
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
use(MiddlewareHandler handler) → void
Register middleware

Operators

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