StreamingHttpResponse
org.llm4s.http.StreamingHttpResponse
HTTP response wrapper for streaming (InputStream-based) response bodies.
Use this instead of HttpResponse when the response body must be consumed incrementally (e.g. server-sent events, JSON lines).
Value parameters
- body
-
Response body as an InputStream — caller is responsible for closing it
- statusCode
-
HTTP status code
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article