SimpleHttpClient

org.llm4s.imagegeneration.provider.SimpleHttpClient
class SimpleHttpClient(llm4sClient: Llm4sHttpClient) extends HttpClient

Attributes

Graph
Supertypes
trait HttpClient
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def get(url: String, headers: Map[String, String], timeout: Int): Try[HttpResponse]

Attributes

Definition Classes
override def post(url: String, headers: Map[String, String], data: String, timeout: Int): Try[HttpResponse]

Attributes

Definition Classes
override def postBytes(url: String, headers: Map[String, String], data: Array[Byte], timeout: Int): Try[HttpResponse]

Attributes

Definition Classes
override def postMultipart(url: String, headers: Map[String, String], data: Seq[MultipartPart], timeout: Int): Try[HttpResponse]

Attributes

Definition Classes
override def postRaw(url: String, headers: Map[String, String], data: String, timeout: Int): Try[HttpRawResponse]

POST with a string body and return raw bytes, bypassing charset decoding.

POST with a string body and return raw bytes, bypassing charset decoding.

Attributes

Definition Classes