a2aRest
fun a2aRest(agentCard: AgentCard, tasks: TaskStorage = TaskStorage.InMemory(), pushNotifications: PushNotificationConfigStorage = PushNotificationConfigStorage.InMemory(), subscriptions: TaskSubscriptions = TaskSubscriptions.InMemory(), basePath: String = "", pushNotificationUrlPolicy: PushNotificationUrlPolicy = AllowAll, messageHandler: MessageHandler): PolyHandler(source)
Create an A2A server using the HTTP/REST protocol binding.
fun a2aRest(cards: AgentCardProvider, tasks: TaskStorage = TaskStorage.InMemory(), pushNotifications: PushNotificationConfigStorage = PushNotificationConfigStorage.InMemory(), subscriptions: TaskSubscriptions = TaskSubscriptions.InMemory(), basePath: String = "", pushNotificationUrlPolicy: PushNotificationUrlPolicy = AllowAll, messageHandler: MessageHandler): PolyHandler(source)