Builder2

harness.http.client.HttpRequest$.Builder2
final class Builder2(method: HttpMethod, url: String, queryParams: Map[String, String], headers: Map[String, List[String]])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def addHeader(key: String, value: String): Builder2
inline def addHeaderEncoded[A](key: String, value: A)(using evidence$4: StringEncoder[A]): Builder2
def withBody[B](body: B): HttpRequest[B]
inline def withBodyEncoded[B](body: B)(using evidence$5: StringEncoder[B]): HttpRequest[String]
inline def withBodyJsonEncoded[B](body: B)(using evidence$6: JsonEncoder[B]): HttpRequest[String]
def withHeader(key: String, value: String): Builder2
inline def withHeaderEncoded[A](key: String, value: A)(using evidence$3: StringEncoder[A]): Builder2
def withNoBody: HttpRequest[Nothing]
inline def withOptQueryParam(key: String, value: Option[String]): Builder2
inline def withOptQueryParamEncoded[A](key: String, value: Option[A])(using evidence$2: StringEncoder[A]): Builder2
def withQueryParam(key: String, value: String): Builder2
inline def withQueryParamEncoded[A](key: String, value: A)(using evidence$1: StringEncoder[A]): Builder2
def withStringBody(body: String): HttpRequest[String]