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:
parent
a8335c63df
commit
473e3fb82b
7 changed files with 63 additions and 37 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue