web library

Classes

Application
The main entry of a Web Application
BroadcastResults<T>
Recvice many results by Stream
ChannelSession<T>
ChannelSessionMessage<T>
Command
CommandLock
A future-based lock for waiting some important code run, like singal value
Config
Context
The context of request [...]
MessageChannel<T>
A Channel based on Stream can share message among Plugin and main program. All of MessageChannel will be cached, same name can get the same MessageChannel
Plugin
Request
RequestHandlerBase
The base of all class-based request handler. Extends it and finish method to handling request. [...]
Response

Functions

allowCORSRequest(Request request, Map<String, String> exHeaders) → void
getLogger(String name) Logger

Typedefs

CommandHandler(Command command) Future
RequestHandler(Request request) Future