Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
GuzzleHttp
Test
Handler
StreamHandlerTest
testAddsProxy
GuzzleHttp\Test\Handler\StreamHandlerTest::testAddsProxy PHP Метод
Документация по классу StreamHandlerTest
Показать файл
Открыть проект
testAddsProxy()
публичный
Метод
public
testAddsProxy
( )
public function testAddsProxy() { $this->getSendResult(['proxy' => '127.0.0.1:8125']); }
StreamHandlerTest
getSendResult
queueRes
testAddsContentLengthByDefault
testAddsContentLengthEvenWhenEmpty
testAddsErrorToResponse
testAddsProxy
testAddsProxyButHonorsNoProxy
testAddsProxyByProtocol
testAddsTimeout
testAutomaticallyDecompressGzip
testCanSetPasswordWhenSettingCert
testDebugAttributeWritesStreamInfoToBuffer
testDebugAttributeWritesToStream
testDoesNotAddContentTypeByDefault
testDoesNotDrainWhenHeadRequest
testDoesNotForceGzipDecode
testDoesSleep
testDrainsResponseAndReadsOnlyContentLengthBytes
testDrainsResponseIntoSaveToBody
testDrainsResponseIntoSaveToBodyAtNonExistentPath
testDrainsResponseIntoSaveToBodyAtPath
testDrainsResponseIntoTempStream
testEmitsProgressInformation
testEmitsProgressInformationAndDebugInformation
testEnsuresOnHeadersIsCallable
testEnsuresThatStreamContextIsAnArray
testEnsuresVerifyOptionIsValid
testInvokesOnStatsOnError
testInvokesOnStatsOnSuccess
testPerformsShallowMergeOfCustomContextOptions
testProtocolVersion
testRejectsPromiseWhenOnHeadersFails
testReportsOriginalSizeAndContentEncodingAfterDecoding
testReturnsResponseForSuccessfulRequest
testStreamAttributeKeepsStreamOpen
testStreamIgnoresZeroTimeout
testSuccessfullyCallsOnHeadersBeforeWritingToSink
testSupports100Continue
testUsesSystemDefaultBundle
testVerifiesCertIfValidPath
testVerifiesVerifyIsValidIfPath
testVerifyCanBeDisabled
testVerifyCanBeSetToPath