PHP Class Tari\ServerMiddleware\HSTS

Inheritance: implements Tari\ServerMiddlewareInterface
Datei anzeigen Open project: ircmaxell/tari-php

Public Methods

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

Method Details

__construct() public method

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

handle() public method

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