class Radbas::SecureHeadersMiddleware

Included Modules

Defined in:

radbas-framework/middleware/secure_headers_middleware.cr

Constructors

Instance Method Summary

Instance methods inherited from module Radbas::Middleware

call(context : Context, delegate : Next) call

Constructor Detail

def self.new(content_type_options : String = "nosniff", strict_transport_security : String = "max-age=31536000; includeSubDomains", frame_options : String = "SAMEORIGIN", xss_protection : String = "0", referrer_policy : String = "no-referrer") #

[View source]

Instance Method Detail

def call(context : Context, delegate : Next) : Nil #

[View source]