Browse Source

Add missing enable_connect_protocol in typespecs

Loïc Hoguin 7 years ago
parent
commit
9af8b0d23a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/cowboy_http2.erl

+ 1 - 0
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()],