adk_a2a_v1_rpc (erlang_adk v0.7.0)

View Source

JSON-RPC 2.0 method dispatcher for the A2A 1.0 JSON-RPC binding.

Summary

Functions

dispatch(Server, Auth, Id, Method, Params)

-spec dispatch(gen_server:server_ref(), map(), term(), binary(), map()) -> {ok, map()} | {error, map()}.

method_type(_)

-spec method_type(binary()) -> unary | stream | unsupported_push | unsupported | unknown.

rpc_error(Id, InvalidParams)

-spec rpc_error(term(), term()) -> map().

task_state(_)

-spec task_state(map()) -> binary() | undefined.