PHP Class Tari\ServerMiddleware\HSTS

Inheritance: implements Tari\ServerMiddlewareInterface
Afficher le fichier Open project: ircmaxell/tari-php

Méthodes publiques

Méthode Description
__construct ( integer $maxAge, boolean $includeSubdomains = false )
handle ( Psr\Http\Message\ServerRequestInterface $request, Tari\ServerFrameInterface $frame ) : Psr\Http\Message\ResponseInterface

Method Details

__construct() public méthode

public __construct ( integer $maxAge, boolean $includeSubdomains = false )
$maxAge integer
$includeSubdomains boolean

handle() public méthode

public handle ( Psr\Http\Message\ServerRequestInterface $request, Tari\ServerFrameInterface $frame ) : Psr\Http\Message\ResponseInterface
$request Psr\Http\Message\ServerRequestInterface
$frame Tari\ServerFrameInterface
Résultat Psr\Http\Message\ResponseInterface