Package-level declarations

Functions

Link copied to clipboard
fun a2aJsonRpc(a2a: A2A, rpcPath: String = "/"): PolyHandler
fun a2aJsonRpc(agentCard: AgentCard, tasks: TaskStorage = TaskStorage.InMemory(), subscriptions: TaskSubscriptions = TaskSubscriptions.InMemory(), pushNotifications: PushNotificationConfigStorage = PushNotificationConfigStorage.InMemory(), rpcPath: String = "/", pushNotificationUrlPolicy: PushNotificationUrlPolicy = AllowAll, messageHandler: MessageHandler): PolyHandler
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

Create an A2A server using the JSON-RPC protocol binding.

Link copied to clipboard
fun a2aRest(protocol: A2A, basePath: String = ""): PolyHandler
fun a2aRest(agentCard: AgentCard, tasks: TaskStorage = TaskStorage.InMemory(), pushNotifications: PushNotificationConfigStorage = PushNotificationConfigStorage.InMemory(), subscriptions: TaskSubscriptions = TaskSubscriptions.InMemory(), basePath: String = "", pushNotificationUrlPolicy: PushNotificationUrlPolicy = AllowAll, messageHandler: MessageHandler): PolyHandler

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