Browse: Home /

includes/lib/stripe-php/lib/HttpClient/CurlClient.php

CurlClient::useHeadersToDetermineWriteCallback()

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 »