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 App[-R] = Http[R, Response, Request, Response]
- type Client = ZClient[Any, Body, Throwable, Response]
- type EHttpApp = Http[Any, Throwable, Request, Response]
- type HandlerAspect[+LowerEnv, -UpperEnv, +LowerErr, -UpperErr] = Contextual[LowerEnv, UpperEnv, LowerErr, UpperErr] { ... /* 2 definitions in type refinement */ }
- type HttpApp[-R, +Err] = Http[R, Err, Request, Response]
- type HttpAppMiddleware[+LowerEnv, -UpperEnv, +LowerErr, -UpperErr] = Contextual[LowerEnv, UpperEnv, LowerErr, UpperErr] { ... /* 2 definitions in type refinement */ }
- type RHttpApp[-R] = Http[R, Throwable, Request, Response]
- type RequestHandler[-R, +Err] = Handler[R, Err, Request, Response]
- type RequestHandlerMiddleware[+LowerEnv, -UpperEnv, +LowerErr, -UpperErr] = Contextual[LowerEnv, UpperEnv, LowerErr, UpperErr] { ... /* 2 definitions in type refinement */ }
-
abstract
class
RouteDecode[A] extends AnyRef
- Definition Classes
- RouteDecoderModule
- type SocketApp[-R] = Handler[R, Throwable, WebSocketChannel, Any]
- case class TestChannel(in: Queue[WebSocketChannelEvent], out: Queue[WebSocketChannelEvent], promise: Promise[Nothing, Unit]) 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 WebSocketChannel = Channel[WebSocketChannelEvent, WebSocketChannelEvent]
- type WebSocketChannelEvent = ChannelEvent[WebSocketFrame]
Value Members
- def Client: ZClient.type
-
val
Empty: Path
- Definition Classes
- PathSyntax
-
val
Root: Path
- Definition Classes
- PathSyntax
- object TestChannel extends Serializable
- object TestClient extends Serializable
- object TestServer extends Serializable