How to disconnect or update Drab socket or channel on user signout

Nope, this function is not documented, so private. Please don’t use it :slight_smile:
I meant killing the socket with something like

defhandler disconnect(socket, _) do
  Process.kill(Drab.pid(socket), :normal)
end
2 Likes