I have a cowboy phoenix websocket server.
I’m on pid 02 and I want to close the pid 01 and his cowboy websocket.
What is the correct way to do?
If I use Process.exit or terminate(:remote, pid) works with an error on HTTP
I need to pass a :close or :stop to the remote pid, so him can terminate gracefully by himself.
How to pass this command? send( pid : ???