Uses of Interface
dev.langchain4j.http.client.sse.ServerSentEventListener
Packages that use ServerSentEventListener
Package
Description
-
Uses of ServerSentEventListener in dev.langchain4j.http.client
Methods in dev.langchain4j.http.client with parameters of type ServerSentEventListenerModifier and TypeMethodDescriptiondefault void
HttpClient.execute
(HttpRequest request, ServerSentEventListener listener) Executes a given HTTP request asynchronously with server-sent events (SSE) handling.void
HttpClient.execute
(HttpRequest request, ServerSentEventParser parser, ServerSentEventListener listener) Executes a given HTTP request asynchronously with server-sent events (SSE) handling. -
Uses of ServerSentEventListener in dev.langchain4j.http.client.jdk
Methods in dev.langchain4j.http.client.jdk with parameters of type ServerSentEventListenerModifier and TypeMethodDescriptionvoid
JdkHttpClient.execute
(HttpRequest request, ServerSentEventParser parser, ServerSentEventListener listener) -
Uses of ServerSentEventListener in dev.langchain4j.http.client.log
Methods in dev.langchain4j.http.client.log with parameters of type ServerSentEventListenerModifier and TypeMethodDescriptionvoid
LoggingHttpClient.execute
(HttpRequest request, ServerSentEventParser parser, ServerSentEventListener delegateListener) -
Uses of ServerSentEventListener in dev.langchain4j.http.client.sse
Methods in dev.langchain4j.http.client.sse with parameters of type ServerSentEventListenerModifier and TypeMethodDescriptionvoid
DefaultServerSentEventParser.parse
(InputStream httpResponseBody, ServerSentEventListener listener) void
ServerSentEventParser.parse
(InputStream httpResponseBody, ServerSentEventListener listener) Parses an input stream containing server-sent events and notifies the listener of parsed events.