zhttp.service
package zhttp.service
Type members
Classlikes
final case class Client[R](rtm: HttpRuntime[R], cf: ChannelFactory[Channel], el: EventLoopGroup) extends HttpMessageCodec
- Companion:
- object
Provides basic ZIO based utilities for any ZIO based program to execute in a channel's context. It will automatically cancel the execution when the channel closes.
Provides basic ZIO based utilities for any ZIO based program to execute in a channel's context. It will automatically cancel the execution when the channel closes.
- Companion:
- object
final class RequestBodyHandler(val callback: UnsafeChannel => UnsafeContent => Unit) extends SimpleChannelInboundHandler[HttpContent]
final class WebSocketAppHandler[R](zExec: HttpRuntime[R], app: SocketApp[R]) extends SimpleChannelInboundHandler[WebSocketFrame]
A generic SocketApp handler that can be used on both - the client and the server.
A generic SocketApp handler that can be used on both - the client and the server.