class CsrfMiddleware implements BaseMiddleware (View source)

Methods

mixed
process(Request $request, callable $next, array $args = [])

Handle an incoming request.

array
preventOn()

Prevent csrf action on urls

Details

mixed process(Request $request, callable $next, array $args = [])

Handle an incoming request.

Parameters

Request $request
callable $next
array $args

Return Value

mixed

Exceptions

array preventOn()

Prevent csrf action on urls

Return Value

array