scalapb.zio_grpc.server
package scalapb.zio_grpc.server
Type members
Classlikes
case
Represents a running request to be served by ZServerCallHandler
Represents a running request to be served by ZServerCallHandler
The listener is returned to grpc-java to feed input into the request.
The run
represents an effect of running the request: it reads the input provided to the listener, and writes the
response to an output channel. It handles interrupts by sending a cancel event through the channel.
- Companion
- object
final
Wrapper around io.grpc.ServerCall that lifts its effects into ZIO values
Wrapper around io.grpc.ServerCall that lifts its effects into ZIO values
class ZServerCallHandler[R, Req, Res](runtime: Runtime[R], mkDriver: (ZServerCall[Res], RequestContext) => URIO[R, CallDriver[R, Req]]) extends ServerCallHandler[Req, Res]
- Companion
- object