Uses of Interface
dev.langchain4j.http.client.sse.HttpStreamingEvent
Packages that use HttpStreamingEvent
Package
Description
-
Uses of HttpStreamingEvent in dev.langchain4j.http.client
Methods in dev.langchain4j.http.client that return types with arguments of type HttpStreamingEventModifier and TypeMethodDescriptiondefault Flow.Publisher<HttpStreamingEvent> HttpClient.stream(HttpRequest request) Executes a streaming HTTP request and exposes the parsed events as a coldFlow.PublisherofHttpStreamingEvents.default Flow.Publisher<HttpStreamingEvent> HttpClient.stream(HttpRequest request, ServerSentEventParser parser) LikeHttpClient.stream(HttpRequest), but with a caller-suppliedServerSentEventParser. -
Uses of HttpStreamingEvent in dev.langchain4j.http.client.apache
Methods in dev.langchain4j.http.client.apache that return types with arguments of type HttpStreamingEventModifier and TypeMethodDescriptionApacheHttpClient.stream(HttpRequest request, ServerSentEventParser parser) LikeHttpClient.stream(HttpRequest), but with a caller-suppliedServerSentEventParser. -
Uses of HttpStreamingEvent in dev.langchain4j.http.client.jdk
Methods in dev.langchain4j.http.client.jdk that return types with arguments of type HttpStreamingEventModifier and TypeMethodDescriptionJdkHttpClient.stream(HttpRequest request, ServerSentEventParser parser) -
Uses of HttpStreamingEvent in dev.langchain4j.http.client.log
Methods in dev.langchain4j.http.client.log that return types with arguments of type HttpStreamingEventModifier and TypeMethodDescriptionLoggingHttpClient.stream(HttpRequest request, ServerSentEventParser parser) LikeHttpClient.stream(HttpRequest), but with a caller-suppliedServerSentEventParser. -
Uses of HttpStreamingEvent in dev.langchain4j.http.client.okhttp
Methods in dev.langchain4j.http.client.okhttp that return types with arguments of type HttpStreamingEventModifier and TypeMethodDescriptionOkHttpClient.stream(HttpRequest request, ServerSentEventParser parser) LikeHttpClient.stream(HttpRequest), but with a caller-suppliedServerSentEventParser. -
Uses of HttpStreamingEvent in dev.langchain4j.http.client.sse
Classes in dev.langchain4j.http.client.sse that implement HttpStreamingEventModifier and TypeClassDescriptionfinal classHttpStreamingEventsignalling that the server answered with an error status (not 2xx).classHttpStreamingEventsignalling that the HTTP response head (status and headers) was received and the stream opened successfully.class -
Uses of HttpStreamingEvent in dev.langchain4j.reactive.streaming
Methods in dev.langchain4j.reactive.streaming with parameters of type HttpStreamingEventModifier and TypeMethodDescriptionvoidHttpStreamingChatPublisher.Sink.onEvent(HttpStreamingEvent event) Handle one upstream event (e.g. anHttpResponseReceivedor aServerSentEvent).Method parameters in dev.langchain4j.reactive.streaming with type arguments of type HttpStreamingEventModifier and TypeMethodDescriptionHttpStreamingChatPublisher.create(int bufferSize, Supplier<Flow.Publisher<HttpStreamingEvent>> upstream, Function<mutiny.zero.Tube<ChatModelStreamingEvent>, HttpStreamingChatPublisher.Sink> sinkFactory)