cacao_io library

Constants

DEFAULT_HOST → const String
'127.0.0.1'
DEFAULT_PORT → const int
8997
DEFAULT_SCHEME_MAP → const Map<String, CacaoServer>
const {'file' : serveFile, null : serveHttp}

Functions

serve(HttpServer server, Map<String, String> pathMap, Map<String, CacaoServer> schemeMap) → Future<void>

Typedefs

CacaoServer(HttpRequest request, Uri uri) → Future<void>