struct ACP::Protocol::SessionCancelParams

Overview

Params for the session/cancel notification (Client → Agent).

Included Modules

Defined in:

acp/protocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(session_id : String, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]
def session_id : String #

The session to cancel the current operation for (required).


[View source]
def session_id=(session_id : String) #

The session to cancel the current operation for (required).


[View source]