From 473e3fb82bd56a984dcf8936a51e3fd8affcb8f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 31 Oct 2018 11:45:04 +0100 Subject: Improve a few types, including cowboy_req:req() --- src/cowboy.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cowboy.erl') diff --git a/src/cowboy.erl b/src/cowboy.erl index a046199..c4be25b 100644 --- a/src/cowboy.erl +++ b/src/cowboy.erl @@ -23,8 +23,7 @@ -export([log/2]). -export([log/4]). -%% @todo Detailed opts. --type opts() :: map(). +-type opts() :: cowboy_http:opts() | cowboy_http2:opts(). -export_type([opts/0]). -type fields() :: [atom() -- cgit v1.2.3