Prometheus Entity Management API
Preparing search index...
@prometheus-ags/entity-graph-a2a
A2AServer
Class A2AServer
Fetch-compatible official A2A v1 JSON-RPC server.
Index
Constructors
constructor
Methods
fetch
get
Card
handle
Request
Constructors
constructor
new
A2AServer
(
options
:
A2AServerOptions
)
:
A2AServer
Parameters
options
:
A2AServerOptions
Returns
A2AServer
Methods
fetch
fetch
(
request
:
Request
)
:
Promise
<
Response
>
Parameters
request
:
Request
Returns
Promise
<
Response
>
get
Card
getCard
()
:
AgentCard
Returns
AgentCard
handle
Request
handleRequest
(
raw
:
string
|
Record
<
string
,
unknown
>
,
options
?:
A2AServerCallOptions
,
)
:
Promise
<
A2AJsonRpcResponse
|
AsyncGenerator
<
A2AJsonRpcResponse
,
void
,
undefined
>
,
>
Parameters
raw
:
string
|
Record
<
string
,
unknown
>
Optional
options
:
A2AServerCallOptions
Returns
Promise
<
A2AJsonRpcResponse
|
AsyncGenerator
<
A2AJsonRpcResponse
,
void
,
undefined
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
fetch
get
Card
handle
Request
Prometheus Entity Management API
Loading...
Fetch-compatible official A2A v1 JSON-RPC server.