PHP Trait Zend\Diactoros\Response\SapiEmitterTrait

显示文件 Open project: zendframework/zend-diactoros

Private Methods

Method Description
emitHeaders ( Psr\Http\Message\ResponseInterface $response ) Emit response headers.
emitStatusLine ( Psr\Http\Message\ResponseInterface $response ) Emit the status line.
filterHeader ( string $header ) : string Filter a header name to wordcase
flush ( integer | null $maxBufferLevel = null ) Loops through the output buffer, flushing each, before emitting the response.
injectContentLength ( Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface Inject the Content-Length header if is not already present.