module Marten::Handlers::XFrameOptions::ClassMethods
Defined in:
marten/handlers/concerns/x_frame_options.crInstance Method Summary
-
#exempt_from_x_frame_options(exempt : Bool) : Nil
Allows to define whether or not the handler responses should be exempted from using X-Frame-Options.
-
#exempt_from_x_frame_options?
Returns a boolean indicating if the handler is exempted from using X-Frame-Options.
Instance Method Detail
def exempt_from_x_frame_options(exempt : Bool) : Nil
#
Allows to define whether or not the handler responses should be exempted from using X-Frame-Options.
Note that this method is only useful when the Marten::Middleware::XFrameOptions
is being used.
def exempt_from_x_frame_options?
#
Returns a boolean indicating if the handler is exempted from using X-Frame-Options.