A2A

class A2A(val cards: AgentCardProvider, tasks: TaskStorage = TaskStorage.InMemory(), pushNotifications: PushNotificationConfigStorage = PushNotificationConfigStorage.InMemory(), subscriptions: TaskSubscriptions = TaskSubscriptions.InMemory(), pushNotificationUrlPolicy: PushNotificationUrlPolicy = AllowAll, handler: MessageHandler)(source)

Constructors

Link copied to clipboard
constructor(cards: AgentCardProvider, tasks: TaskStorage = TaskStorage.InMemory(), pushNotifications: PushNotificationConfigStorage = PushNotificationConfigStorage.InMemory(), subscriptions: TaskSubscriptions = TaskSubscriptions.InMemory(), pushNotificationUrlPolicy: PushNotificationUrlPolicy = AllowAll, handler: MessageHandler)
constructor(agentCard: AgentCard, tasks: TaskStorage = TaskStorage.InMemory(), pushNotifications: PushNotificationConfigStorage = PushNotificationConfigStorage.InMemory(), subscriptions: TaskSubscriptions = TaskSubscriptions.NoOp(), pushNotificationUrlPolicy: PushNotificationUrlPolicy = PushNotificationUrlPolicy.AllowAll, handler: MessageHandler)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun subscribe(taskId: TaskId, sse: Sse, tenant: Tenant? = null): Task?