class
Amber::Pipe::SecureHeaders
- Amber::Pipe::SecureHeaders
- Amber::Pipe::Base
- Reference
- Object
Overview
The SecureHeaders pipe sets security-related HTTP headers to help protect against common vulnerabilities like XSS, clickjacking, and MIME sniffing.
Defined in:
amber/pipes/secure_headers.crConstructors
Instance Method Summary
-
#call(context : HTTP::Server::Context)
Execution of this handler.
- #hsts=(hsts : Bool)
- #hsts? : Bool
Instance methods inherited from class Amber::Pipe::Base
call(context : HTTP::Server::Context)
call
Constructor Detail
Instance Method Detail
def call(context : HTTP::Server::Context)
#
Description copied from class Amber::Pipe::Base
Execution of this handler.