CurlClient::closeCurlHandle()
Method: Closes the curl handle if initialized. Do nothing if already closed.
Method: Closes the curl handle if initialized. Do nothing if already closed.
Method: Resets the curl handle. If the handle is not already initialized, or if persistent connections are disabled, the handle is reinitialized instead.
Method: Indicates whether it is safe to use HTTP/2 or not.
Method: Checks if a list of headers contains a specific header name.
Constant: No description found
Constant: No description found
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.
Method: No description found
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.
Method: No description found
Method: No description found
Method: No description found
Method: No description found
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.
Method: No description found
Method: Provides the number of seconds to wait before retrying a request.
Method: No description found
Method: Initializes the curl handle. If already initialized, the handle is closed first.
Method: Sets a callback that is called after each request. The callback will receive the following parameters:
.
Method: No description found