Aerys\responseCodec

function responseCodec($filter, Aerys\InternalRequest $ireq): Generator

Manages a filter and pipes its yielded values to the InternalRequest->responseWriter

Type Parameter Description Default Value
mixed $filter \Generator a filter manager (like generated by responseFilter) none
Aerys\InternalRequest $ireq No documentation. none