tmhOAuth::curlWrite
Utility function to parse the returned curl buffer and store them until an EOL is found. The buffer for curl is an undefined size so we need to collect the content until an EOL is found.
This function calls the previously defined streaming callback method.
Signature
Parameters
$ch
— object- curl handle
$data
— string- the current curl buffer
Returns
- int
- the length of the data string processed in this function