http library

Classes

AngelHttp
Adapts dart:io's HttpServer to serve Angel.
HttpRequestContext
An implementation of RequestContext that wraps a HttpRequest.
HttpResponseContext
An implementation of ResponseContext that abstracts over an HttpResponse.

Extensions

HttpHeadersValues on HttpHeaders
Adds and removes the values of headers given as maps, as the default headers of AngelHttp and AngelHttp2 take them.

Functions

startShared(Object? address, int port) → Future<HttpServer>
Boots a shared server instance. Use this if launching multiple isolates.
startSharedSecure(SecurityContext securityContext) → Future<HttpServer> Function(Object? address, int port)

Typedefs

ServerGeneratorType = Future<HttpServer> Function(dynamic, int)