HttpClientTestCase
extends TestCase
in package
A reference test suite for HttpClientInterface implementations.
Table of Contents
- setUpBeforeClass() : void
- tearDownAfterClass() : void
- test304() : mixed
- testAddToStream() : mixed
- testAutoEncodingRequest() : mixed
- testBadRequestBody() : mixed
- testBaseUri() : 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
- 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
Return values
void —tearDownAfterClass()
public
static tearDownAfterClass() : void
Return values
void —test304()
public
test304() : mixed
Return values
mixed —testAddToStream()
public
testAddToStream() : mixed
Return values
mixed —testAutoEncodingRequest()
public
testAutoEncodingRequest() : mixed
Tags
Return values
mixed —testBadRequestBody()
public
testBadRequestBody() : mixed
Return values
mixed —testBaseUri()
public
testBaseUri() : mixed
Return values
mixed —testBufferSink()
public
testBufferSink() : mixed
Return values
mixed —testCancel()
public
testCancel() : mixed
Return values
mixed —testCancelInStream()
public
testCancelInStream() : mixed
Return values
mixed —testChunkedEncoding()
public
testChunkedEncoding() : mixed
Return values
mixed —testClientError()
public
testClientError() : mixed
Return values
mixed —testCompleteTypeError()
public
testCompleteTypeError() : mixed
Return values
mixed —testConditionalBuffering()
public
testConditionalBuffering() : mixed
Return values
mixed —testDestruct()
public
testDestruct() : mixed
Return values
mixed —testDnsError()
public
testDnsError() : mixed
Return values
mixed —testGetContentAfterDestruct()
public
testGetContentAfterDestruct() : mixed
Return values
mixed —testGetEncodedContentAfterDestruct()
public
testGetEncodedContentAfterDestruct() : mixed
Return values
mixed —testGetRequest()
public
testGetRequest() : mixed
Return values
mixed —testGzipBroken()
public
testGzipBroken() : mixed
Tags
Return values
mixed —testHeadRequest()
public
testHeadRequest() : mixed
Return values
mixed —testHttpVersion()
public
testHttpVersion() : mixed
Return values
mixed —testIdnResolve()
public
testIdnResolve() : mixed
Return values
mixed —testIgnoreErrors()
public
testIgnoreErrors() : mixed
Return values
mixed —testInfoOnCanceledResponse()
public
testInfoOnCanceledResponse() : mixed
Return values
mixed —testInformationalResponse()
public
testInformationalResponse() : mixed
Return values
mixed —testInformationalResponseStream()
public
testInformationalResponseStream() : mixed
Return values
mixed —testInlineAuth()
public
testInlineAuth() : mixed
Return values
mixed —testInvalidRedirect()
public
testInvalidRedirect() : mixed
Return values
mixed —testMaxDuration()
public
testMaxDuration() : mixed
Return values
mixed —testMaxRedirects()
public
testMaxRedirects() : mixed
Return values
mixed —testNonBufferedGetRequest()
public
testNonBufferedGetRequest() : mixed
Return values
mixed —testNoProxy()
public
testNoProxy() : mixed
Return values
mixed —testNotATimeout()
public
testNotATimeout() : mixed
Return values
mixed —testOnProgress()
public
testOnProgress() : mixed
Return values
mixed —testOnProgressCancel()
public
testOnProgressCancel() : mixed
Return values
mixed —testOnProgressError()
public
testOnProgressError() : mixed
Return values
mixed —testPostArray()
public
testPostArray() : mixed
Return values
mixed —testPostCallback()
public
testPostCallback() : mixed
Return values
mixed —testPostJson()
public
testPostJson() : mixed
Return values
mixed —testPostResource()
public
testPostResource() : mixed
Return values
mixed —testProxy()
public
testProxy() : mixed
Return values
mixed —testQuery()
public
testQuery() : mixed
Return values
mixed —testRedirect307()
public
testRedirect307() : mixed
Return values
mixed —testRedirects()
public
testRedirects([array<string|int, mixed> $headers = [] ]) : mixed
Parameters
- $headers : array<string|int, mixed> = []
Tags
Return values
mixed —testReentrantBufferCallback()
public
testReentrantBufferCallback() : mixed
Return values
mixed —testRelativeRedirects()
public
testRelativeRedirects() : mixed
Return values
mixed —testResolve()
public
testResolve() : mixed
Return values
mixed —testStream()
public
testStream() : mixed
Return values
mixed —testThrowingBufferCallback()
public
testThrowingBufferCallback() : mixed
Return values
mixed —testTimeoutIsNotAFatalError()
public
testTimeoutIsNotAFatalError() : mixed
Return values
mixed —testTimeoutOnAccess()
public
testTimeoutOnAccess() : mixed
Return values
mixed —testTimeoutOnDestruct()
public
testTimeoutOnDestruct() : mixed
Return values
mixed —testTimeoutOnInitialize()
public
testTimeoutOnInitialize() : mixed
Return values
mixed —testTimeoutOnStream()
public
testTimeoutOnStream() : mixed
Return values
mixed —testTimeoutWithActiveConcurrentStream()
public
testTimeoutWithActiveConcurrentStream() : mixed
Return values
mixed —testUncheckedTimeoutThrows()
public
testUncheckedTimeoutThrows() : mixed
Return values
mixed —testUnsupportedOption()
public
testUnsupportedOption() : mixed
Return values
mixed —testUserlandEncodingRequest()
public
testUserlandEncodingRequest() : mixed
Tags
Return values
mixed —testWithOptions()
public
testWithOptions() : mixed
Return values
mixed —getHttpClient()
protected
abstract getHttpClient(string $testCase) : HttpClientInterface
Parameters
- $testCase : string