Decorate closures as PSR-15 middleware. Decorates closures with the following signature: ``` IResponse ( IServerRequest serverRequest, IRequestHandler handler *): ``` such that it will operate as PSR-15 middleware.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
this(IClosure | this(IClosure aCallable) | ||||
IResponse | IResponse process(IServerRequest serverRequest, IRequestHandler requestHandler) | ||||
Closure | Closure getCallable() |