package service
- Alphabetic
- By Inheritance
- service
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
Channel[-A](channel: io.netty.channel.Channel, convert: (A) ⇒ Any) extends Product with Serializable
An immutable and type-safe representation of one or more netty channels.
An immutable and type-safe representation of one or more netty channels.
Arepresents the type of messages that can be written on the channel. -
final
case class
ChannelEvent[-A, +B](channel: Channel[A], event: Event[B]) extends Product with Serializable
Immutable and type-safe representation of events that are triggered on a netty channel.
Immutable and type-safe representation of events that are triggered on a netty channel.
Arepresents the inbound message type andBrepresents the outbound message type that's allowed on the channel. - type ChannelFactory = io.netty.channel.ChannelFactory[io.netty.channel.Channel]
- final class ChannelFuture[A] extends AnyRef
- final case class Client[R](rtm: HttpRuntime[R], cf: io.netty.channel.ChannelFactory[io.netty.channel.Channel], el: io.netty.channel.EventLoopGroup) extends HttpMessageCodec with Product with Serializable
- trait EncodeRequest extends AnyRef
- type EventLoopGroup = io.netty.channel.EventLoopGroup
- trait HttpMessageCodec extends EncodeRequest
-
final
class
HttpRuntime[+R] extends AnyRef
Provides basic ZIO based utilities for any ZIO based program to execute in a channel's context.
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.
-
trait
Logging extends AnyRef
Base trait to configure 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 extends SimpleChannelInboundHandler[HttpContent]
- sealed trait Server[-R, +E] extends AnyRef
- type ServerChannelFactory = io.netty.channel.ChannelFactory[ServerChannel]
- type UServer = Server[Any, Nothing]
-
final
class
WebSocketAppHandler[R] extends SimpleChannelInboundHandler[WebSocketFrame]
A generic SocketApp handler that can be used on both - the client and the server.
Value Members
-
val
EnableNettyLogging: Boolean
Controls if you want to pipe netty logs into the zhttp logger.
Controls if you want to pipe netty logs into the zhttp logger.
- Definition Classes
- Logging
- object Channel extends Serializable
- object ChannelEvent extends Serializable
- object ChannelFactory
- object ChannelFuture
- object Client extends Serializable
-
object
EventLoopGroup
Simple wrapper over NioEventLoopGroup
- object HttpRuntime
- object Server
- object ServerResponseWriter