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