SerializationManagerBodyParserMiddleware
class SerializationManagerBodyParserMiddleware implements MiddlewareInterface (View source)
Constants
| INHIBIT_POST_ARRAY_COMPLIANCE |
Override $_POST According to documentation, getParsedBody() MUST return the same content as the $_POST array for POST methods with application/x-www-form-urlencoded' or multipart/form-data content-types. This flag allows to ignore this rule. |
| REPARSE |
Re-parse body even if parsed body already contains data. |
Methods
__construct(DataUnserializerInterface|StreamUnserializerInterface $deserializer = null)
No description
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)
No description
ResponseInterface
postProcess(ServerRequestInterface $request, mixed $data, RequestHandlerInterface $handler)
No description
DataUnserializerInterface|StreamUnserializerInterface
getUnserializer()
No description
setFlags($flags)
No description
getFlags()
No description