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(program: ZIO[R, Throwable, Any], interruptOnClose: Boolean)(implicit ctx: ChannelHandlerContext): Unit
def unsafeRunUninterruptible(program: ZIO[R, Throwable, Any])(implicit ctx: ChannelHandlerContext): Unit