alias ACP::AgentRequestHandler

Overview

Alias for the callback type used to handle agent-initiated requests like session/request_permission. The handler receives the raw params as JSON::Any and must return a JSON::Any result.

Alias Definition

String, JSON::Any -> JSON::Any

Defined in:

acp/client.cr