Typedefs

Pipeline(Request request) → Future<Response>

PipelineFactory([IoCContainer container]) Pipeline

ServerFactory(host, int port) → Future<HttpServer>

Properties

context HttpContext

read-only
isInHttpContext → bool

read-only

Functions

handler(Function handler) Middleware

middleware(Middleware middleware(Handler innerHandler(Request request))) → Middleware

pipe([middlewareA = nothing, middlewareB = nothing, middlewareC = nothing, middlewareD = nothing, middlewareE = nothing, middlewareF = nothing, middlewareG = nothing, middlewareH = nothing, middlewareI = nothing, middlewareJ = nothing, middlewareK = nothing, middlewareL = nothing, middlewareM = nothing, middlewareN = nothing, middlewareO = nothing, middlewareP = nothing, middlewareQ = nothing, middlewareR = nothing, middlewareS = nothing, middlewareT = nothing, middlewareU = nothing, middlewareV = nothing, middlewareW = nothing, middlewareX = nothing, middlewareY = nothing, middlewareZ = nothing]) PipelineFactory

pipeActual(Iterable<Middleware> middleware) Pipeline

pipeIf(Function condition, [middlewareA = nothing, middlewareB = nothing, middlewareC = nothing, middlewareD = nothing, middlewareE = nothing, middlewareF = nothing, middlewareG = nothing, middlewareH = nothing, middlewareI = nothing, middlewareJ = nothing, middlewareK = nothing, middlewareL = nothing, middlewareM = nothing, middlewareN = nothing, middlewareO = nothing, middlewareP = nothing, middlewareQ = nothing, middlewareR = nothing, middlewareS = nothing, middlewareT = nothing, middlewareU = nothing, middlewareV = nothing, middlewareW = nothing, middlewareX = nothing, middlewareY = nothing, middlewareZ = nothing]) Middleware

resolveMiddleware(Iterable tokens, [IoCContainer container]) → Iterable<Middleware>

runInContext(IoCContainer container, dynamic body()) → dynamic

setUpContextForTesting({Map<String, dynamic> values}) → dynamic

Classes

Controller

HttpBootstrapper

HttpContext

Middleware

Request

Represents an HTTP request to be processed by a Shelf application.

Response

The response returned by a Handler.

Route

Exceptions / Errors

HttpAuthenticationTimeoutException

HttpBadGatewayException

HttpBadRequestException

HttpConflictException

HttpException

HttpExpectationFailedException

HttpFailedDependencyException

HttpForbiddenException

HttpGatewayTimeoutException

HttpGoneException

HttpImATeapotException

HttpInsufficientStorageException

HttpInternalServerErrorException

HttpLengthRequiredException

HttpLockedException

HttpLoopDetectedException

HttpMethodNotAllowedException

HttpMisdirectedRequestException

HttpNetworkAuthenticationRequiredException

HttpNotAcceptableException

HttpNotExtendedException

HttpNotFoundException

HttpNotImplementedException

HttpPayloadTooLargeException

HttpPaymentRequiredException

HttpPreconditionFailedException

HttpPreconditionRequiredException

HttpProxyAuthenticationRequiredException

HttpRangeNotSatisfiableException

HttpRequestHeaderFieldsTooLargeException

HttpRequestTimeoutException

HttpServiceUnavailableException

HttpTooManyRequestsException

HttpUnauthorizedException

HttpUnprocessableEntityException

HttpUnsupportedMediaTypeException

HttpUpgradeRequiredException

HttpURITooLongException

HttpVariantAlsoNegotiatesException

HttpVersionNotSupportedException

NoResponseFromPipelineException