package http
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- http
- RouteDecoderModule
- RequestSyntax
- PathSyntax
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type Client = ZClient[Any, Body, Throwable, Response]
- type EHttpApp = Http[Any, Throwable, Request, Response]
- type HttpApp[-R, +E] = Http[R, E, Request, Response]
- type RHttpApp[-R] = Http[R, Throwable, Request, Response]
- type ResponseZIO[-R, +E] = ZIO[R, E, Response]
-
abstract
class
RouteDecode[A] extends AnyRef
- Definition Classes
- RouteDecoderModule
- case class TestChannel(counterpartEvents: Queue[Event[WebSocketFrame]]) extends WebSocketChannel with Product with Serializable
-
final
case class
TestClient(behavior: Ref[HttpApp[Any, Throwable]], serverSocketBehavior: Ref[SocketApp[Any]]) extends Client 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
-
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
- type UHttp[-A, +B] = Http[Any, Nothing, A, B]
- type UHttpApp = Http[Any, Nothing, Request, Response]
- type UMiddleware[+AIn, -BIn, -AOut, +BOut] = Middleware[Any, Nothing, AIn, BIn, AOut, BOut]
Value Members
-
val
!!: Path
- Definition Classes
- PathSyntax
- def Client: ZClient.type
-
val
~~: Path
- Definition Classes
- PathSyntax
- object TestChannel extends Serializable
- object TestClient extends Serializable
- object TestServer extends Serializable