module

Marten::Handlers::RequestForgeryProtection::ClassMethods

Instance methods

protect_from_forgery(protect : Bool) : Nil

Allows to define whether or not the handler should be protected from Cross-Site Request Forgeries.

Source
protect_from_forgery?

Returns a boolean indicating if the handler is protected from Cross-Site Request Forgeries.

Source