0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 20:50:24 +00:00

Improve a few types, including cowboy_req:req()

This commit is contained in:
Loïc Hoguin 2018-10-31 11:45:04 +01:00
parent a8335c63df
commit 473e3fb82b
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
7 changed files with 63 additions and 37 deletions

View file

@ -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()