We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$request->url()和$request->fullUrl()均无法获取完整协议头的URL,建议新增方法完善,示例: ` /** * @return string */ public function protocol() { return $this->scheme() . '://'; }
/** * @return string */ public function scheme() { return strtolower($this->header('x-forwarded-proto', 'http')); }
`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
$request->url()和$request->fullUrl()均无法获取完整协议头的URL,建议新增方法完善,示例:
`
/**
* @return string
*/
public function protocol()
{
return $this->scheme() . '://';
}
`
The text was updated successfully, but these errors were encountered: