Requests_Auth_Basic::register()
最后更新于:2021-11-26 00:39:21
Requests_Auth_Basic::register( Requests_Hooks$hooks)Register the necessary callbacks
参数
- $hooks
-
(Requests_Hooks) (Required) Hook system
源文件
文件: gc-includes/Requests/Auth/Basic.php
public function register(Requests_Hooks $hooks) {
$hooks->register('curl.before_send', array($this, 'curl_before_send'));
$hooks->register('fsockopen.after_headers', array($this, 'fsockopen_header'));
}