Table of Contents

Method AddConnectionMetadata

Namespace
Skyline.DataMiner.DataSources.CommunicationGatewayMiddleware.Common.Api
Assembly
Skyline.DataMiner.DataSources.CommunicationGatewayMiddleware.Common.dll

AddConnectionMetadata(GrpcMetadata)

Adds metadata key-value pairs to the gRPC channel's metadata that is sent with every request. Duplicate keys will be dropped and will not be present in the return value.

public GrpcMetadata AddConnectionMetadata(GrpcMetadata metadata)

Parameters

metadata GrpcMetadata

The metadata to add to the existing metadata for this channel.

Returns

GrpcMetadata

The values that were actually added to the channel's metadata.

Exceptions

RequestFailedException

When the DxM returned an error code.

NoResponseException

When a response is expected from the DxM, but there was no response or it was a null reference.