From eaed06370287c9708d2bf359dd1c2da1d392364c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 7 Oct 2019 09:59:36 +0200 Subject: Document cowboy_metrics_h --- src/cowboy_http.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cowboy_http.erl') diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl index b4a6995..4a9808f 100644 --- a/src/cowboy_http.erl +++ b/src/cowboy_http.erl @@ -44,6 +44,8 @@ max_method_length => non_neg_integer(), max_request_line_length => non_neg_integer(), metrics_callback => cowboy_metrics_h:metrics_callback(), + metrics_req_filter => fun((cowboy_req:req()) -> map()), + metrics_resp_headers_filter => fun((cowboy:http_headers()) -> cowboy:http_headers()), middlewares => [module()], proxy_header => boolean(), request_timeout => timeout(), -- cgit v1.2.3