aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_socks.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-08-26 17:19:29 +0200
committerLoïc Hoguin <[email protected]>2020-09-21 15:51:58 +0200
commit35d9f47fbcff23395c256b7814ce6af1d85129a2 (patch)
tree2bb4864409827488dd0c236d6983160e04937252 /src/gun_socks.erl
parent3de0604eec218996dad4db59c0cc96092cd7e0e7 (diff)
downloadgun-35d9f47fbcff23395c256b7814ce6af1d85129a2.tar.gz
gun-35d9f47fbcff23395c256b7814ce6af1d85129a2.tar.bz2
gun-35d9f47fbcff23395c256b7814ce6af1d85129a2.zip
Add a gun:stream_ref() type and fix Dialyzer
Diffstat (limited to 'src/gun_socks.erl')
-rw-r--r--src/gun_socks.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_socks.erl b/src/gun_socks.erl
index ce91f93..cf5c41c 100644
--- a/src/gun_socks.erl
+++ b/src/gun_socks.erl
@@ -26,7 +26,7 @@
%% @todo down
-record(socks_state, {
- ref :: undefined | reference(), %% @todo Need a proper stream_ref type.
+ ref :: undefined | gun:stream_ref(),
reply_to :: pid(),
socket :: inet:socket() | ssl:sslsocket(),
transport :: module(),