Uses of Record Class
org.a2aproject.sdk.client.http.ServerSentEvent
-
Uses of ServerSentEvent in org.a2aproject.sdk.client.http
Method parameters in org.a2aproject.sdk.client.http with type arguments of type ServerSentEventModifier and TypeMethodDescriptionA2AHttpClient.GetBuilder.getAsyncSSE(Consumer<ServerSentEvent> messageConsumer, Consumer<Throwable> errorConsumer, Runnable completeRunnable) Executes an asynchronous GET request expecting Server-Sent Events (SSE).A2AHttpClient.PostBuilder.postAsyncSSE(Consumer<ServerSentEvent> messageConsumer, Consumer<Throwable> errorConsumer, Runnable completeRunnable) Executes an asynchronous POST request expecting Server-Sent Events (SSE).Constructor parameters in org.a2aproject.sdk.client.http with type arguments of type ServerSentEventModifierConstructorDescriptionServerSentEventParser(Consumer<ServerSentEvent> eventConsumer) ServerSentEventParser(Consumer<ServerSentEvent> eventConsumer, @Nullable Consumer<Throwable> errorConsumer)