io library
VM and server transports. Do not import this from Flutter web or Jaspr client code.
Classes
- AgentLinkAnnouncement
- Address of the process that owns an AgentInvocationHub.
- AgentLinkDirectory
- Local directory Dart peers use to find a link owner.
- AgentWebSocketSurface
- Default AgentSurfaceLink transport for another process.
Functions
-
invokeAgentWebSocket(
{required Uri uri, required IntentCallInvocationEnvelope envelope, Duration timeout = const Duration(seconds: 5)}) → Future< AgentResult> -
Sends one
invokeframe and waits for the matchingobservedresult. -
listAgentWebSocketTools(
{required Uri uri, Duration timeout = const Duration(seconds: 5)}) → Future< List< Map< >String, Object?> > - Asks the owner for its tool list. The reply is not broadcast.
-
registryFromDiscoveredLink(
AgentLinkAnnouncement announcement) → Future< InMemoryAgentRegistry> - Registry whose handlers forward to a discovered owner.