aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-04-23 14:34:53 +0200
committerLoïc Hoguin <[email protected]>2018-04-23 14:34:53 +0200
commit9af8b0d23a2887f9bae5e8f54bc2b055a0375efe (patch)
treecec5c4ef55513e4295f5b55c0b5b3d20f8db2c5b
parent29234292e0f1b76c37b6ac9ae3edda34c8c25b60 (diff)
downloadcowboy-9af8b0d23a2887f9bae5e8f54bc2b055a0375efe.tar.gz
cowboy-9af8b0d23a2887f9bae5e8f54bc2b055a0375efe.tar.bz2
cowboy-9af8b0d23a2887f9bae5e8f54bc2b055a0375efe.zip
Add missing enable_connect_protocol in typespecs
-rw-r--r--src/cowboy_http2.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl
index 7f5d738..82f4d2e 100644
--- a/src/cowboy_http2.erl
+++ b/src/cowboy_http2.erl
@@ -24,6 +24,7 @@
-type opts() :: #{
connection_type => worker | supervisor,
+ enable_connect_protocol => boolean(),
env => cowboy_middleware:env(),
inactivity_timeout => timeout(),
middlewares => [module()],