Открытые члены | |
__construct (RequestInterface $request, Http\ResponseBuilder $responseBuilder, array $options=[]) | |
process (Http\Promise $promise) | |
getState () | |
getSocket () | |
![]() | |
__construct (RequestInterface $request, ResponseBuilder $responseBuilder, array $options=[]) | |
getRequest () | |
getResponse () | |
getLogger () | |
log (string $logMessage, int $level) | |
shouldFetchBody (callable $callback) | |
![]() | |
setDebugLevel (int $debugLevel) | |
getDebugLevel () | |
Открытые атрибуты | |
const | PENDING = 0 |
const | CONNECTED = 1 |
const | HEADERS_SENT = 2 |
const | BODY_SENT = 3 |
const | HEADERS_RECEIVED = 4 |
const | BODY_RECEIVED = 5 |
const | CONNECT_SENT = 6 |
const | CONNECT_RECEIVED = 7 |
Защищенные члены | |
write (string $data, string $error) | |
sendConnect () | |
sendHeaders () | |
sendBody () | |
receiveHeaders () | |
receiveBody () | |
createSocket (array $options) | |
Защищенные данные | |
const | BUF_BODY_LEN = 131072 |
const | BUF_READ_LEN = 32768 |
Stream | $socket |
bool | $useProxy = false |
int | $state = self::PENDING |
string | $requestBodyPart = '' |
![]() | |
bool | $waitResponse = true |
int | $bodyLengthMax = 0 |
RequestInterface | $request |
ResponseBuilder | $responseBuilder |
$shouldFetchBody = null | |
string | $responseHeaders = '' |
Response | $response = null |
См. определение в файле handler.php строка 17
__construct | ( | RequestInterface | $request, |
Http\ResponseBuilder | $responseBuilder, | ||
array | $options = [] ) |
RequestInterface | $request | |
Http\ResponseBuilder | $responseBuilder | |
array | $options |
См. определение в файле handler.php строка 41
|
protected |
См. определение в файле handler.php строка 399
getSocket | ( | ) |
getState | ( | ) |
См. определение в файле handler.php строка 443
process | ( | Http\Promise | $promise | ) |
Processes the given promise. The promise can be left in the pending state, fulfilled or rejected.
Http\Promise | $promise |
См. определение в файле handler.php строка 59
|
protected |
См. определение в файле handler.php строка 346
|
protected |
См. определение в файле handler.php строка 310
|
protected |
См. определение в файле handler.php строка 288
|
protected |
См. определение в файле handler.php строка 230
|
protected |
См. определение в файле handler.php строка 258
|
protected |
См. определение в файле handler.php строка 216
|
protected |
См. определение в файле handler.php строка 34
|
protected |
См. определение в файле handler.php строка 31
|
protected |
См. определение в файле handler.php строка 33
|
protected |
См. определение в файле handler.php строка 32
const BODY_RECEIVED = 5 |
См. определение в файле handler.php строка 27
const BODY_SENT = 3 |
См. определение в файле handler.php строка 25
|
protected |
См. определение в файле handler.php строка 19
|
protected |
См. определение в файле handler.php строка 20
const CONNECT_RECEIVED = 7 |
См. определение в файле handler.php строка 29
const CONNECT_SENT = 6 |
См. определение в файле handler.php строка 28
const CONNECTED = 1 |
См. определение в файле handler.php строка 23
const HEADERS_RECEIVED = 4 |
См. определение в файле handler.php строка 26
const HEADERS_SENT = 2 |
См. определение в файле handler.php строка 24
const PENDING = 0 |
См. определение в файле handler.php строка 22