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
setUpBeforeClass()
public
static setUpBeforeClass() : void
tearDownAfterClass()
public
static tearDownAfterClass() : void
test304()
public
test304() : mixed
testAddToStream()
public
testAddToStream() : mixed
testAutoEncodingRequest()
public
testAutoEncodingRequest() : mixed
Tags
Attributes
- #[RequiresPhpExtension]
- 'zlib'
testBadRequestBody()
public
testBadRequestBody() : mixed
testBaseUri()
public
testBaseUri() : mixed
testBindToPort()
public
testBindToPort() : mixed
testBindToPortV6()
public
testBindToPortV6() : mixed
testBufferSink()
public
testBufferSink() : mixed
testCancel()
public
testCancel() : mixed
testCancelInStream()
public
testCancelInStream() : mixed
testChunkedEncoding()
public
testChunkedEncoding() : mixed
testClientError()
public
testClientError() : mixed
testCompleteTypeError()
public
testCompleteTypeError() : mixed
testConditionalBuffering()
public
testConditionalBuffering() : mixed
testDestruct()
public
testDestruct() : mixed
testDnsError()
public
testDnsError() : mixed
testGetContentAfterDestruct()
public
testGetContentAfterDestruct() : mixed
testGetEncodedContentAfterDestruct()
public
testGetEncodedContentAfterDestruct() : mixed
testGetRequest()
public
testGetRequest() : mixed
testGzipBroken()
public
testGzipBroken() : mixed
Tags
Attributes
- #[RequiresPhpExtension]
- 'zlib'
testHeadRequest()
public
testHeadRequest() : mixed
testHttpVersion()
public
testHttpVersion() : mixed
testIdnResolve()
public
testIdnResolve() : mixed
testIgnoreErrors()
public
testIgnoreErrors() : mixed
testInfoOnCanceledResponse()
public
testInfoOnCanceledResponse() : mixed
testInformationalResponse()
public
testInformationalResponse() : mixed
testInformationalResponseStream()
public
testInformationalResponseStream() : mixed
testInlineAuth()
public
testInlineAuth() : mixed
testInvalidRedirect()
public
testInvalidRedirect() : mixed
testIPv6Resolve()
public
testIPv6Resolve() : mixed
testMaxDuration()
public
testMaxDuration() : mixed
testMaxRedirects()
public
testMaxRedirects() : mixed
testNonBufferedGetRequest()
public
testNonBufferedGetRequest() : mixed
testNoProxy()
public
testNoProxy() : mixed
testNotATimeout()
public
testNotATimeout() : mixed
testOnProgress()
public
testOnProgress() : mixed
testOnProgressCancel()
public
testOnProgressCancel() : mixed
testOnProgressError()
public
testOnProgressError() : mixed
testPostArray()
public
testPostArray() : mixed
testPostCallback()
public
testPostCallback() : mixed
testPostJson()
public
testPostJson() : mixed
testPostResource()
public
testPostResource() : mixed
testProxy()
public
testProxy() : mixed
testQuery()
public
testQuery() : mixed
testRedirect307()
public
testRedirect307() : mixed
testRedirects()
public
testRedirects([array<string|int, mixed> $headers = [] ]) : mixed
Parameters
- $headers : array<string|int, mixed> = []
Tags
testReentrantBufferCallback()
public
testReentrantBufferCallback() : mixed
testRelativeRedirects()
public
testRelativeRedirects() : mixed
testResolve()
public
testResolve() : mixed
testStream()
public
testStream() : mixed
testThrowingBufferCallback()
public
testThrowingBufferCallback() : mixed
testTimeoutIsNotAFatalError()
public
testTimeoutIsNotAFatalError() : mixed
testTimeoutOnAccess()
public
testTimeoutOnAccess() : mixed
testTimeoutOnDestruct()
public
testTimeoutOnDestruct() : mixed
testTimeoutOnInitialize()
public
testTimeoutOnInitialize() : mixed
testTimeoutOnStream()
public
testTimeoutOnStream() : mixed
testTimeoutWithActiveConcurrentStream()
public
testTimeoutWithActiveConcurrentStream() : mixed
testUncheckedTimeoutThrows()
public
testUncheckedTimeoutThrows() : mixed
testUnsupportedOption()
public
testUnsupportedOption() : mixed
testUserlandEncodingRequest()
public
testUserlandEncodingRequest() : mixed
Tags
Attributes
- #[RequiresPhpExtension]
- 'zlib'
testWithOptions()
public
testWithOptions() : mixed
getHttpClient()
protected
abstract getHttpClient(string $testCase) : HttpClientInterface
Parameters
- $testCase : string