src/Leevel/Router/Match/Annotation.php
protected function matcheScheme(string $scheme): bool
    {
        if ($scheme && $this->request->getScheme() !== $scheme) {
            return false;
        }

        return true;
    }
protected function matcheScheme(string $scheme): bool
    {
        if ($scheme && $this->request->getScheme() !== $scheme) {
            return false;
        }

        return true;
    }
协议匹配.

@param string $scheme

@return bool