PHP 클래스 Phly\Http\Response\SapiEmitter

상속: implements Phly\Http\Response\EmitterInterface
파일 보기 프로젝트 열기: phly/http

공개 메소드들

메소드 설명
emit ( Psr\Http\Message\ResponseInterface $response, null | integer $maxBufferLevel = null ) Emits a response for a PHP SAPI environment.

비공개 메소드들

메소드 설명
emitBody ( Psr\Http\Message\ResponseInterface $response, $maxBufferLevel ) Emit the message body.
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

메소드 상세

emit() 공개 메소드

Emits the status line and headers via the header() function, and the body content via the output buffer.
public emit ( Psr\Http\Message\ResponseInterface $response, null | integer $maxBufferLevel = null )
$response Psr\Http\Message\ResponseInterface
$maxBufferLevel null | integer Maximum output buffering level to unwrap.