Documentation

HttpClientTestCase extends TestCase
in package

AbstractYes

A reference test suite for HttpClientInterface implementations.

Table of Contents

Methods

setUpBeforeClass()  : void
tearDownAfterClass()  : void
test304()  : mixed
testAddToStream()  : mixed
testAutoEncodingRequest()  : mixed
testBadRequestBody()  : mixed
testBaseUri()  : mixed
testBindToPort()  : mixed
testBindToPortV6()  : mixed
testBufferSink()  : mixed
testCancel()  : mixed
testCancelInStream()  : mixed
testChunkedEncoding()  : mixed
testClientError()  : mixed
testCompleteTypeError()  : mixed
testConditionalBuffering()  : mixed
testDestruct()  : mixed
testDnsError()  : mixed
testGetContentAfterDestruct()  : mixed
testGetEncodedContentAfterDestruct()  : mixed
testGetRequest()  : mixed
testGzipBroken()  : mixed
testHeadRequest()  : mixed
testHttpVersion()  : mixed
testIdnResolve()  : mixed
testIgnoreErrors()  : mixed
testInfoOnCanceledResponse()  : mixed
testInformationalResponse()  : mixed
testInformationalResponseStream()  : mixed
testInlineAuth()  : mixed
testInvalidRedirect()  : mixed
testIPv6Resolve()  : mixed
testMaxDuration()  : mixed
testMaxRedirects()  : mixed
testNonBufferedGetRequest()  : mixed
testNoProxy()  : mixed
testNotATimeout()  : mixed
testOnProgress()  : mixed
testOnProgressCancel()  : mixed
testOnProgressError()  : mixed
testPostArray()  : mixed
testPostCallback()  : mixed
testPostJson()  : mixed
testPostResource()  : mixed
testProxy()  : mixed
testQuery()  : mixed
testRedirect307()  : mixed
testRedirects()  : mixed
testReentrantBufferCallback()  : mixed
testRelativeRedirects()  : mixed
testResolve()  : mixed
testStream()  : mixed
testThrowingBufferCallback()  : mixed
testTimeoutIsNotAFatalError()  : mixed
testTimeoutOnAccess()  : mixed
testTimeoutOnDestruct()  : mixed
testTimeoutOnInitialize()  : mixed
testTimeoutOnStream()  : mixed
testTimeoutWithActiveConcurrentStream()  : mixed
testUncheckedTimeoutThrows()  : mixed
testUnsupportedOption()  : mixed
testUserlandEncodingRequest()  : mixed
testWithOptions()  : mixed
getHttpClient()  : HttpClientInterface

Methods

testAutoEncodingRequest()

public testAutoEncodingRequest() : mixed
Tags
requires

extension zlib

Attributes
#[RequiresPhpExtension]
'zlib'

testGetEncodedContentAfterDestruct()

public testGetEncodedContentAfterDestruct() : mixed

testGzipBroken()

public testGzipBroken() : mixed
Tags
requires

extension zlib

Attributes
#[RequiresPhpExtension]
'zlib'

testInformationalResponseStream()

public testInformationalResponseStream() : mixed

testRedirects()

public testRedirects([array<string|int, mixed> $headers = [] ]) : mixed
Parameters
$headers : array<string|int, mixed> = []
Tags
testWith

[[]] [["Content-Length: 7"]]

testTimeoutWithActiveConcurrentStream()

public testTimeoutWithActiveConcurrentStream() : mixed

testUserlandEncodingRequest()

public testUserlandEncodingRequest() : mixed
Tags
requires

extension zlib

Attributes
#[RequiresPhpExtension]
'zlib'

        
On this page

Search results