ex_slack v0.1.0 Slack.Util.WebSocket behaviour View Source

Behaviour for Slack websocket clients.

Link to this section Summary

Callbacks

Send a message over the socket

Start a client link

Stop a client

Link to this section Types

Link to this section Callbacks

Link to this callback reply(arg0, map) View Source
reply(GenServer.server, map) :: :ok | {:error, term}

Send a message over the socket

Start a client link.

Link to this callback stop(arg0, term) View Source
stop(GenServer.server, term) :: any

Stop a client.