close(ConnPid) -> ok ConnPid :: pid()
gun:close - Brutally close the connection
close(ConnPid) -> ok ConnPid :: pid()
Brutally close the connection.
The pid of the Gun connection process.
The atom ok
is returned.
ok = gun:close(ConnPid).
Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:
Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.