HttpResponse

org.llm4s.http.HttpResponse
case class HttpResponse(statusCode: Int, body: String, headers: Map[String, Seq[String]])

HTTP response wrapper exposing status code, body, and headers.

Value parameters

body

Response body as a string

headers

Response headers as a multi-valued map (lowercase keys)

statusCode

HTTP status code (e.g. 200, 404)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product