Versions in this module Expand all Collapse all v1 v1.1.1 Dec 13, 2021 Changes in this version + type Middleware struct + Directives string + Include []string + func (Middleware) CaddyModule() caddy.ModuleInfo + func (m *Middleware) Provision(ctx caddy.Context) error + func (m *Middleware) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (m *Middleware) Validate() error + func (m Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error + type StreamRecorder struct + func NewStreamRecorder(w http.ResponseWriter, tx *coraza.Transaction) *StreamRecorder + func (sr *StreamRecorder) Buffered() bool + func (sr *StreamRecorder) Reader() (io.Reader, error) + func (sr *StreamRecorder) Status() int + func (sr *StreamRecorder) Write(data []byte) (int, error) + func (sr *StreamRecorder) WriteHeader(statusCode int)