PHP 클래스 yii\httpclient\CurlTransport

Note: this transport requires PHP 'curl' extension installed. For this transport, you may setup request options as cURL Options
부터: 2.0
저자: Paul Klimov ([email protected])
상속: extends Transport
파일 보기 프로젝트 열기: yiisoft/yii2-httpclient

공개 메소드들

메소드 설명
batchSend ( array $requests )
send ( $request )

비공개 메소드들

메소드 설명
composeCurlOptions ( array $options ) : array Composes cURL options from raw request options.
initCurl ( array $curlOptions ) : resource Initializes cURL resource.
prepare ( Request $request ) : array Prepare request for execution, creating cURL resource for it.
setHeaderOutput ( resource $curlResource, array &$output ) Setup a variable, which should collect the cURL response headers.

메소드 상세

batchSend() 공개 메소드

public batchSend ( array $requests )
$requests array

send() 공개 메소드

public send ( $request )