Class yii\httpclient\StreamTransport

Inheritanceyii\httpclient\StreamTransport » yii\httpclient\Transport » yii\base\Component
Available since version2.0
Source Code

StreamTransport sends HTTP messages using Streams

For this transport, you may setup request options using Context Options

Public Methods

Hide inherited methods

MethodDescriptionDefined By
batchSend() Performs multiple HTTP requests. yii\httpclient\Transport
send() Performs given request. yii\httpclient\StreamTransport

Method Details

send() public method

Performs given request.

public yii\httpclient\Response send ( $request )
$request yii\httpclient\Request

Request to be sent.

return yii\httpclient\Response

Response instance.

throws yii\httpclient\Exception

on failure.