Raxol.AgentClientProtocol.Ext.Schema.ClosedNotification (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

_raxol/session.closed: terminate an ALREADY-REGISTERED subscriber mid-stream. reason is a grow-only string set.

Summary

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Ext.Schema.ClosedNotification{
  reason: String.t(),
  session_id: String.t()
}

Functions

from_json(map)

@spec from_json(map()) :: {:ok, t()} | {:error, term()}

new(session_id, reason)

@spec new(String.t(), String.t()) :: t()

to_json(r)

@spec to_json(t()) :: map()