Behaviours: roadrunner_middleware.
config() = #{content_type_options => binary() | false, frame_options => binary() | false, referrer_policy => binary() | false, hsts => boolean() | hsts_config(), content_security_policy => binary() | false}
hsts_config() = #{max_age => non_neg_integer(), include_subdomains => boolean(), preload => boolean()}
state() = #sec{static = roadrunner_http:headers(), hsts = binary() | false}
| call/3 | |
| init/1 |
call(Req::roadrunner_req:request(), Next::roadrunner_middleware:next(), Sec::state()) -> roadrunner_handler:result()
Generated by EDoc