ZClient

zio.http.ZClient$
See theZClient companion trait
object ZClient

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ZClient.type

Members list

Concise view

Type members

Classlikes

final class ClientLive extends Client with ClientRequestEncoder

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def delete(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def delete(pathSuffix: String)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def get(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def get(pathSuffix: String)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def head(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def head(pathSuffix: String)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def patch(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def post(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def put(pathSuffix: String, body: Body)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def request(url: String, method: Method, headers: Headers, content: Body, addZioUserAgentHeader: Boolean)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def request(request: Request)(implicit trace: Trace): ZIO[Client, Throwable, Response]
def socket[R](url: String, app: SocketApp[R], headers: Headers)(implicit trace: Trace): ZIO[R & Client & Scope, Throwable, Response]