Requests_Auth_Basic::fsockopen_header()
最后更新于:2021-11-26 00:32:19
Requests_Auth_Basic::fsockopen_header( string$out)Add extra headers to the request before sending
参数
- $out
-
(string) (Required) HTTP header string
源文件
文件: gc-includes/Requests/Auth/Basic.php
public function fsockopen_header(&$out) {
$out .= sprintf("Authorization: Basic %srn", base64_encode($this->getAuthString()));
}