Raxol.AgentClientProtocol.Schema.LifecycleExtras.CancelRequestNotification (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

The protocol-level $/cancel_request notification: {requestId, _meta}, where requestId is a JSON-RPC request id (null | integer | string, see Raxol.AgentClientProtocol.Rpc.RequestId). Oracle-derived (schema.json CancelRequestNotification); not a port of any upstream f1729 module (f1729 has no $/cancel_request support).

This struct exists for MethodTable.rows/0 completeness and for whichever layer (Connection) pre-filters this wire method before Router.decode/4 — Router itself never generates a decode clause for this layer: :protocol row.

Summary

Types

t()

@type t() ::
  %Raxol.AgentClientProtocol.Schema.LifecycleExtras.CancelRequestNotification{
    _meta: map(),
    request_id: Raxol.AgentClientProtocol.Rpc.RequestId.t()
  }

Functions

from_json(map)

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

new(request_id)

to_json(r)

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