RangedRequestMiddleware
in package
implements
MiddlewareInterface
The ranged request middleware allows an application requesting data from our application to indicate that they wish to only receive a part of the response.
This prevents unnecessary downloads when big file downloads get interrupted, or when scrubbing through video in the client application.
Interfaces, Classes and Traits
- MiddlewareInterface
Table of Contents
- process() : ResponseInterface
Methods
process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface