Packages

p

zio

http

package http

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. http
  2. MdInterpolator
  3. UrlInterpolator
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Client = ZClient[Any, Body, Throwable, Response]
  2. implicit class MdInterpolatorHelper extends AnyRef
    Definition Classes
    MdInterpolator
  3. type RequestHandler[-R, +Err] = Handler[R, Err, Request, Response]
  4. case class TestChannel(in: Queue[WebSocketChannelEvent], out: Queue[WebSocketChannelEvent], promise: Promise[Nothing, Unit]) extends WebSocketChannel with Product with Serializable
  5. final case class TestClient(behavior: Ref[Routes[Any, Response]], serverSocketBehavior: Ref[WebSocketApp[Any]]) extends http.ZClient.Driver[Any, Throwable] with Product with Serializable

    Enables tests that use a client without needing a live Server

    Enables tests that use a client without needing a live Server

    behavior

    Contains the user-specified behavior that takes the place of the usual Server

  6. final case class TestServer(driver: Driver, bindPort: Int) extends Server with Product with Serializable

    Enables tests that make calls against "localhost" with user-specified Behavior/Responses.

    Enables tests that make calls against "localhost" with user-specified Behavior/Responses.

    driver

    The web driver that accepts our Server behavior

    bindPort

    Port for HTTP interactions

  7. implicit class UrlInterpolatorHelper extends AnyRef
    Definition Classes
    UrlInterpolator
  8. type WebSocketChannel = Channel[WebSocketChannelEvent, WebSocketChannelEvent]
  9. type WebSocketChannelEvent = ChannelEvent[WebSocketFrame]

Value Members

  1. def Client: ZClient.type
  2. val Root: PathCodec[Unit]
  3. def boolean(name: String): PathCodec[Boolean]
  4. def handler[H](handler: ⇒ H)(implicit h: ToHandler[H]): Handler[Env, Err, In, Out]
  5. def handlerTODO(message: String): Handler[Any, Nothing, Any, Nothing]
  6. def int(name: String): PathCodec[Int]
  7. def long(name: String): PathCodec[Long]
  8. def string(name: String): PathCodec[String]
  9. val trailing: PathCodec[Path]
  10. def uuid(name: String): PathCodec[UUID]
  11. def withContext[C](fn: ⇒ C)(implicit c: WithContext[C]): ZIO[Env, Err, Out]
  12. object TestChannel extends Serializable
  13. object TestClient extends Serializable
  14. object TestServer extends Serializable

Inherited from MdInterpolator

Inherited from UrlInterpolator

Inherited from AnyRef

Inherited from Any

Ungrouped