zio.http

package zio.http

Members list

Concise view

Type members

Classlikes

case class TestChannel(counterpartEvents: Queue[Event[WebSocketFrame]]) extends WebSocketChannel

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class TestClient(behavior: Ref[HttpApp[Any, Throwable]], serverSocketBehavior: Ref[SocketApp[Any]]) extends Client

Enables tests that use a client without needing a live Server

Enables tests that use a client without needing a live Server

Attributes

behavior

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

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object TestClient

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class TestServer(driver: Driver, bindPort: Int) extends Server

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

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

Attributes

bindPort

Port for HTTP interactions

driver

The web driver that accepts our Server behavior

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Server
class Object
trait Matchable
class Any
object TestServer

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type