module Marten::Handlers::XFrameOptions::ClassMethods

Defined in:

marten/handlers/concerns/x_frame_options.cr

Instance Method Summary

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.


[View source]
def exempt_from_x_frame_options? #

Returns a boolean indicating if the handler is exempted from using X-Frame-Options.


[View source]