diff options
-rw-r--r-- | src/cowboy_http2.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl index e0fe30e..6018461 100644 --- a/src/cowboy_http2.erl +++ b/src/cowboy_http2.erl @@ -77,7 +77,7 @@ encode_state = cow_hpack:init() :: cow_hpack:state() }). --spec init(pid(), ranch:ref(), inet:socket(), module(), opts(), module()) -> ok. +-spec init(pid(), ranch:ref(), inet:socket(), module(), cowboy:opts(), module()) -> ok. init(Parent, Ref, Socket, Transport, Opts, Handler) -> before_loop(#state{parent=Parent, ref=Ref, socket=Socket, transport=Transport, opts=Opts, handler=Handler}, <<>>). |