SimplerSlack v0.0.4 SimplerSlack.Websocket.Client

Websocket client that connects to the provided URL. Used to connect to the slack RTM API and dispatch messages to the provided module.

only supports user_typing and message events.

Summary

Functions

starts the web socket client

Handles incoming slack messages. Validates and dispatches the messages to the registered module

Functions

start_link(url, module, state \\ %{})
start_link(String.t, module, map) :: {:ok, pid}

starts the web socket client

websocket_handle(arg, conn, state)

Handles incoming slack messages. Validates and dispatches the messages to the registered module