aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-10-31 11:45:04 +0100
committerLoïc Hoguin <[email protected]>2018-10-31 14:11:45 +0100
commit473e3fb82bd56a984dcf8936a51e3fd8affcb8f4 (patch)
treec9f126c7117f271b4aa8c739bb5178b9671c9d10 /src/cowboy.erl
parenta8335c63df31f21d88e9d7d1f2b64d32a674cd7a (diff)
downloadcowboy-473e3fb82bd56a984dcf8936a51e3fd8affcb8f4.tar.gz
cowboy-473e3fb82bd56a984dcf8936a51e3fd8affcb8f4.tar.bz2
cowboy-473e3fb82bd56a984dcf8936a51e3fd8affcb8f4.zip
Improve a few types, including cowboy_req:req()
Diffstat (limited to 'src/cowboy.erl')
-rw-r--r--src/cowboy.erl3
1 files changed, 1 insertions, 2 deletions
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()