RequestBodyParsingMiddleware
class RequestBodyParsingMiddleware implements MiddlewareInterface (View source)
Parses the request body and adds the result to the ServerRequest instance.
Properties
protected PropertyMapper | $propertyMapper | ||
protected ObjectManagerInterface | $objectManager |
Methods
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $next)
No description
null|array|string|int
parseRequestBody(ServerRequestInterface $httpRequest)
Parses the request body according to the media type.
Details
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $next)
No description
protected null|array|string|int
parseRequestBody(ServerRequestInterface $httpRequest)
Parses the request body according to the media type.