PHP 클래스 Kelpie\Server\Response

상속: implements IteratorAggregat\IteratorAggregate
파일 보기 프로젝트 열기: dhotson/kelpie 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
getIterator ( )
head ( ) Top header of the response, containing the status code and response headers.
headersOutput ( ) String representation of the headers to be sent in the response.
isPersistent ( )
persistent ( )
setBody ( $body )
setHeaders ( $headers ) array($key => $value) $key must be a string $value can be either an array, or a string separated by newlines
setStatus ( $status )

메소드 상세

__construct() 공개 메소드

public __construct ( )

getIterator() 공개 메소드

public getIterator ( )

head() 공개 메소드

Top header of the response, containing the status code and response headers.
public head ( )

headersOutput() 공개 메소드

String representation of the headers to be sent in the response.
public headersOutput ( )

isPersistent() 공개 메소드

public isPersistent ( )

persistent() 공개 메소드

public persistent ( )

setBody() 공개 메소드

public setBody ( $body )

setHeaders() 공개 메소드

array($key => $value) $key must be a string $value can be either an array, or a string separated by newlines
public setHeaders ( $headers )

setStatus() 공개 메소드

public setStatus ( $status )