zhttp.service

Type members

Classlikes

final class ChannelFuture[A]
Companion:
object
Companion:
class
final case class Client[R](rtm: HttpRuntime[R], cf: ChannelFactory[Channel], el: EventLoopGroup) extends HttpMessageCodec
Companion:
object
object Client
Companion:
class

Simple wrapper over NioEventLoopGroup

Simple wrapper over NioEventLoopGroup

object Handler
final class HttpRuntime[+R](strategy: Strategy[R])

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
Companion:
class
trait Logging

Base trait to configure logging. Feel free to edit this file as per your requirements to slice and dice internal logging.

Base trait to configure logging. Feel free to edit this file as per your requirements to slice and dice internal logging.

final class RequestBodyHandler(val callback: HttpContent => Any) extends SimpleChannelInboundHandler[HttpContent]
sealed trait Server[-R, +E]
Companion:
object
object Server
Companion:
class
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.

Types

type ChannelFactory = ChannelFactory[Channel]
type EventLoopGroup = EventLoopGroup
type ServerChannelFactory = ChannelFactory[ServerChannel]
type UServer = Server[Any, Nothing]

Value members

Inherited fields

Controls if you want to pipe netty logs into the zhttp logger.

Controls if you want to pipe netty logs into the zhttp logger.

Inherited from:
Logging