interface HTTPMiddleware (View source)

Methods

public
process(HTTPRequest $request, callable $delegate)

Generate response for the given request

Details

HTTPResponse process(HTTPRequest $request, callable $delegate)

Generate response for the given request

Parameters

HTTPRequest $request
callable $delegate

Return Value

HTTPResponse