Table of Contents

Method RemoveConnectionMetadata

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

RemoveConnectionMetadata(params string[])

Removes metadata keys and their associated values from the gRPC channel's metadata that is sent with every request. Keys that cannot be found will not be present in the return value. Note that keys for binary values (byte arrays) should end with "-bin".

public GrpcMetadataKeys RemoveConnectionMetadata(params string[] keys)

Parameters

keys string[]

The collection of keys that should be removed from this channel's gRPC metadata.

Returns

GrpcMetadataKeys

The collection of keys that were actually removed.

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.