Gun error/down logging and retry dispatch for ZenWebsocket.Client.
Summary
Functions
Logs a Gun down event and runs the retry state machine.
Logs a Gun stream error and runs the retry state machine.
Logs a monitored Gun process exit and runs the retry state machine.
Functions
@spec handle_gun_down(map(), pid(), term(), term(), term()) :: {:noreply, map()} | {:stop, term(), map()}
Logs a Gun down event and runs the retry state machine.
@spec handle_gun_error(map(), pid(), reference(), term()) :: {:noreply, map()} | {:stop, term(), map()}
Logs a Gun stream error and runs the retry state machine.
@spec handle_process_down(map(), pid(), reference(), term()) :: {:noreply, map()} | {:stop, term(), map()}
Logs a monitored Gun process exit and runs the retry state machine.