tanegashima v0.0.11 Tanegashima.Websocket behaviour
Elixir wrapper for Pushbullet-Websocket-API.
You can do nothing other than override-defining handle_push
and handle_other_message
for nomal use.
usage:
defmodule Examaple do
use Tanegashima.Websocket
end
and
iex> Example.start
Summary
Callbacks
Handle your state when you get other than push or nop notification
Handle your state when you get push-tickle notification
The initial state of your GenServer
Types
state :: map
Callbacks
Handle your state when you get other than push or nop notification.
Handle your state when you get push-tickle notification.