GrpcContext

Available in a dev version: 0․11․0-grpc-186

How to configure

expect class GrpcContext(source)

Platform abstraction for the underlying gRPC call context associated with the current server call.

On JVM this is backed by io.grpc.Context and can be used to preserve gRPC call-local state across coroutine boundaries.

On Native targets this type currently exists only as a placeholder for API parity. Native gRPC context propagation is not implemented yet, so the current instance does not carry a real call-scoped state.

actual typealias GrpcContext = Context(source)

Platform abstraction for the underlying gRPC call context associated with the current server call.

On JVM this is backed by io.grpc.Context and can be used to preserve gRPC call-local state across coroutine boundaries.

On Native targets this type currently exists only as a placeholder for API parity. Native gRPC context propagation is not implemented yet, so the current instance does not carry a real call-scoped state.

actual class GrpcContext(source)

Platform abstraction for the underlying gRPC call context associated with the current server call.

On JVM this is backed by io.grpc.Context and can be used to preserve gRPC call-local state across coroutine boundaries.

On Native targets this type currently exists only as a placeholder for API parity. Native gRPC context propagation is not implemented yet, so the current instance does not carry a real call-scoped state.

Constructors

Link copied to clipboard
constructor()