You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install default internal CURLOPT_HEADERFUNCTION handler.
Override setting of CURLOPT_HEADERFUNCTION option.
Integrate external callback into internal handler.
class Browser {
publicfunctionwriteHeader($curl, $header) {
$this->header .= $header;
// Return count from external handler to fail in case of its failurereturncall_user_func($this->handler, null, $header);
}
The text was updated successfully, but these errors were encountered:
Install default internal
CURLOPT_HEADERFUNCTION
handler.Override setting of
CURLOPT_HEADERFUNCTION
option.Integrate external callback into internal handler.
The text was updated successfully, but these errors were encountered: