org.llm4s.http.JsonHttpResponse
See theJsonHttpResponse companion object
@Stable
An HTTP response whose body has been parsed as JSON (see HttpResponse.toJson).
Value parameters
- body
-
Response body parsed as JSON
- headers
-
Response headers as a multi-valued map (lowercase keys) Build one with JsonHttpResponse.apply and change it with the
with*setters; the constructor andcopyare private, so a new field never breaks callers. - statusCode
-
HTTP status code
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article