TestServer

zio.http.TestServer
See theTestServer companion class
object TestServer

Attributes

Companion
class
Source
TestServer.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TestServer.type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def addRequestResponse(request: Request, response: Response): ZIO[TestServer, Nothing, Unit]

Attributes

Source
TestServer.scala
def addRoute[R](route: Route[R, Response]): ZIO[R & TestServer, Nothing, Unit]

Attributes

Source
TestServer.scala
def addRoutes[R](routes: Routes[R, Response]): ZIO[R & TestServer, Nothing, Unit]

Attributes

Source
TestServer.scala

Concrete fields

val default: ZLayer[Any, Nothing, TestServer]

Attributes

Source
TestServer.scala