diff options
Diffstat (limited to 'src/ranch_embedded_sup.erl')
-rw-r--r-- | src/ranch_embedded_sup.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ranch_embedded_sup.erl b/src/ranch_embedded_sup.erl index aa157e0..ba5b46d 100644 --- a/src/ranch_embedded_sup.erl +++ b/src/ranch_embedded_sup.erl @@ -24,6 +24,8 @@ start_link(Ref, Transport, TransOpts, Protocol, ProtoOpts) -> supervisor:start_link(?MODULE, {Ref, Transport, TransOpts, Protocol, ProtoOpts}). +-spec init({ranch:ref(), module(), any(), module(), any()}) + -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}. init({Ref, Transport, TransOpts, Protocol, ProtoOpts}) -> Proxy = #{id => ranch_server_proxy, start => {ranch_server_proxy, start_link, []}, |