aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gun.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gun.erl b/src/gun.erl
index 112ab07..001d332 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -15,6 +15,7 @@
-module(gun).
%% Connection.
+-export([open/2]).
-export([open/3]).
-export([close/1]).
-export([shutdown/1]).
@@ -69,6 +70,9 @@
%% Connection.
+open(Host, Port) ->
+ open(Host, Port, []).
+
open(Host, Port, Opts) ->
case open_opts(Opts) of
ok ->