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
ok = gun:close(ConnPid).
gun(3), gun:open(3), gun:open_unix(3)