HttpRequest

org.llm4s.http.HttpRequest
See theHttpRequest companion class
object HttpRequest

Attributes

Companion
class
Source
Llm4sHttpClient.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(method: HttpMethod, url: String, headers: Map[String, String], queryParams: Map[String, String], body: HttpBody, responseTimeout: FiniteDuration, idleTimeout: FiniteDuration): HttpRequest

Creates an HttpRequest.

Creates an HttpRequest.

Value parameters

body

the request body

headers

request headers

idleTimeout

the longest a read of the response body waits for more bytes

method

the HTTP method

queryParams

query parameters, URL-encoded and appended to url

responseTimeout

the longest wait for the response's status line and headers

url

absolute http or https URL

Attributes

Source
Llm4sHttpClient.scala

Concrete fields

Both timeouts of a request that sets neither.

Both timeouts of a request that sets neither.

Attributes

Source
Llm4sHttpClient.scala