CurlClient::closeCurlHandle()
Method: Closes the curl handle if initialized. Do nothing if already closed.
CurlClient::closeCurlHandle Read More »
Method: Closes the curl handle if initialized. Do nothing if already closed.
CurlClient::closeCurlHandle Read More »
Method: Resets the curl handle. If the handle is not already initialized, or if persistent connections are disabled, the handle is reinitialized instead.
CurlClient::resetCurlHandle Read More »
Method: Indicates whether it is safe to use HTTP/2 or not.
CurlClient::canSafelyUseHttp2 Read More »
Method: Checks if a list of headers contains a specific header name.
CurlClient::hasHeader Read More »
Method: No description found
CurlClient::getConnectTimeout Read More »
Method: No description found
CurlClient::constructRequest Read More »
Method: Curl permits sending \CURLOPT_HEADERFUNCTION, which is called with lines from the header and \CURLOPT_WRITEFUNCTION, which is called with bytes from the body. You usually want to handle the body differently depending on what was in the header.
CurlClient::useHeadersToDetermineWriteCallback Read More »
Method: No description found
CurlClient::parseLineIntoHeaderArray Read More »
Method: Like `executeRequestWithRetries` except: 1. Does not buffer the body of a successful (status code < 300) response into memory -- instead, calls the caller-provided $readBodyChunk with each chunk of incoming data.
CurlClient::executeStreamingRequestWithRetries Read More »
Method: No description found
CurlClient::executeRequestWithRetries Read More »
Method: No description found
CurlClient::setEnablePersistentConnections Read More »
Method: Checks if an error is a problem that we should retry on. This includes both socket errors that may represent an intermittent problem and some special HTTP statuses.
CurlClient::shouldRetry Read More »
Method: Provides the number of seconds to wait before retrying a request.
CurlClient::sleepTime Read More »
Method: No description found
CurlClient::getRequestStatusCallback Read More »
Method: Initializes the curl handle. If already initialized, the handle is closed first.
CurlClient::initCurlHandle Read More »