diff options
Diffstat (limited to 'src/gun_data_h.erl')
-rw-r--r-- | src/gun_data_h.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gun_data_h.erl b/src/gun_data_h.erl index d1f8787..1750ff1 100644 --- a/src/gun_data_h.erl +++ b/src/gun_data_h.erl @@ -20,10 +20,10 @@ -record(state, { reply_to :: pid(), - stream_ref :: reference() + stream_ref :: gun:stream_ref() }). --spec init(pid(), reference(), _, _, _) -> {ok, #state{}}. +-spec init(pid(), gun:stream_ref(), _, _, _) -> {ok, #state{}}. init(ReplyTo, StreamRef, _, _, _) -> {ok, #state{reply_to=ReplyTo, stream_ref=StreamRef}}. |