Sets the HTTP scheme.
@api
Parameters
string $scheme The HTTP scheme:
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RequestContext.php, line 182
Class
- RequestContext
- Holds information about the current request.
Namespace
Symfony\Component\Routing
Code
public function setScheme($scheme) {
$this->scheme = strtolower($scheme);
}