PHP 클래스 Tebru\Retrofit\Event\AfterSendEvent

저자: Nate Brunette ([email protected])
상속: extends Symfony\Component\EventDispatcher\Event
파일 보기 프로젝트 열기: tebru/retrofit-php 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response = null ) Constructor
getRequest ( ) : Psr\Http\Message\RequestInterface Get the request
getResponse ( ) : Psr\Http\Message\ResponseInterface Get the response
setResponse ( Psr\Http\Message\ResponseInterface $response = null ) Set the updated response back to the event

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response = null )
$request Psr\Http\Message\RequestInterface
$response Psr\Http\Message\ResponseInterface

getRequest() 공개 메소드

Get the request
public getRequest ( ) : Psr\Http\Message\RequestInterface
리턴 Psr\Http\Message\RequestInterface

getResponse() 공개 메소드

Get the response
public getResponse ( ) : Psr\Http\Message\ResponseInterface
리턴 Psr\Http\Message\ResponseInterface

setResponse() 공개 메소드

Set the updated response back to the event
public setResponse ( Psr\Http\Message\ResponseInterface $response = null )
$response Psr\Http\Message\ResponseInterface