asServer
fun MessageHandler.asServer(cfg: PolyServerConfig, agentCard: AgentCard, tasks: TaskStorage = TaskStorage.InMemory(), pushNotifications: PushNotificationConfigStorage = PushNotificationConfigStorage.InMemory(), subscriptions: TaskSubscriptions = TaskSubscriptions.InMemory(), rpcPath: String = "/", pushNotificationUrlPolicy: PushNotificationUrlPolicy = AllowAll): Http4kServer(source)
Convienience method to construct an A2a server from a MessageHandeler. Uses InMemory versions of the Tasks and