HttpRuntime

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

trait Strategy[R]

Value members

Concrete methods

def default[R]: URIO[R, HttpRuntime[R]]

Creates a runtime that uses a separate thread pool for ZIO operations.

Creates a runtime that uses a separate thread pool for ZIO operations.

def sticky[R](group: EventLoopGroup): URIO[R, HttpRuntime[R]]

Creates a runtime that uses the same thread that's used by the channel's event loop. This should be the preferred way of creating the runtime for the server.

Creates a runtime that uses the same thread that's used by the channel's event loop. This should be the preferred way of creating the runtime for the server.