diff options
Diffstat (limited to 'src/gun.erl')
-rw-r--r-- | src/gun.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gun.erl b/src/gun.erl index b7ffcd3..b7260bc 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -342,11 +342,11 @@ cancel(ServerPid, StreamRef) -> -spec ws_upgrade(pid(), iodata()) -> reference(). ws_upgrade(ServerPid, Path) -> - ws_upgrade(ServerPid, Path, [], []). + ws_upgrade(ServerPid, Path, [], #{}). -spec ws_upgrade(pid(), iodata(), headers()) -> reference(). ws_upgrade(ServerPid, Path, Headers) -> - ws_upgrade(ServerPid, Path, Headers, []). + ws_upgrade(ServerPid, Path, Headers, #{}). -spec ws_upgrade(pid(), iodata(), headers(), ws_opts()) -> reference(). ws_upgrade(ServerPid, Path, Headers, Opts) -> |