Documentation

CsrfProtectionRequestHandler
in package
implements RequestHandlerInterface

Refuses to process an invalid request

Interfaces, Classes, Traits and Enums

RequestHandlerInterface

Table of Contents

BAD_REQUEST  = "Bad Request"
CREATED  = "Created"
FORBIDDEN  = "Forbidden"
METHOD_NOT_ALLOWED  = "Method Not Allowed"
OK  = "OK"
__construct()  : mixed
handle()  : ResponseInterface
Determines the response based on the validity of the request.

Constants

Methods

handle()

Determines the response based on the validity of the request.

public handle(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

Search results