Context

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

How to configure

data class Context(val authority: String, val methodName: String)(source)

Context information available when retrieving call credentials.

Provides metadata about the RPC call to enable method-specific authentication strategies.

Constructors

Link copied to clipboard
constructor(authority: String, methodName: String)

Properties

Link copied to clipboard

The authority (host:port) for this call.

Link copied to clipboard

The method name of the RPC being invoked.

Functions

Link copied to clipboard

Retrieves authentication metadata for the gRPC call.