HttpRuntime

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.

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def unsafeRun(ctx: ChannelHandlerContext)(program: ZIO[R, Throwable, Any]): Unit
def unsafeRunUninterruptible(ctx: ChannelHandlerContext)(program: ZIO[R, Throwable, Any]): Unit