PHP Class Tari\ServerMiddleware\CallableServerMiddleware

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

Méthodes publiques

Méthode Description
__construct ( callable $callback )
handle ( Psr\Http\Message\ServerRequestInterface $request, Tari\ServerFrameInterface $frame ) : Psr\Http\Message\ResponseInterface

Method Details

__construct() public méthode

public __construct ( callable $callback )
$callback callable

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