Remedy.Gateway (Remedy v0.6.8) View Source

Exposes functions for gateway interraction.

Link to this section Summary

Types

The websocket state transmitted along with events to the consumer.

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Specs

socket() :: %{
  gateway: String.t(),
  heartbeat_ack: boolean(),
  last_heartbeat_ack: DateTime.t() | nil,
  last_heartbeat_send: DateTime.t() | nil,
  payload_dispatch_event: atom(),
  payload_op_code: integer(),
  payload_op_event: atom(),
  payload_sequence: integer(),
  session_id: String.t() | nil,
  shard: integer()
}

The websocket state transmitted along with events to the consumer.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.