akka.grpc.scaladsl.MetadataBuilder
See theMetadataBuilder companion object @DoNotInherit @ApiMayChange This class provides an interface for constructing immutable Metadata instances.
Attributes
- Companion:
- object
- Source:
- MetadataBuilder.scala
- Graph
- Supertypes
class Object
trait Matchable
class Any
Members list
Concise view
Value members
Adds a binary entry. The key must end in the "-bin" binary suffix.
Adds a binary entry. The key must end in the "-bin" binary suffix.
Attributes
- key
The entry key.
- value
The entry value.
- Returns:
The updated builder.
- Source:
- MetadataBuilder.scala
Adds a string entry. The key must not end in the "-bin" binary suffix.
Adds a string entry. The key must not end in the "-bin" binary suffix.
Attributes
- key
The entry key.
- value
The entry value.
- Returns:
The updated builder.
- Source:
- MetadataBuilder.scala
Builds the immutable metadata instance.