Table of Contents

Delegate ResponseDecodeFunc

Namespace
IceRpc.Slice
Assembly
IceRpc.Slice.dll

Represents a delegate that decodes the "void" return value from a Slice-encoded response.

public delegate ValueTask ResponseDecodeFunc(IncomingResponse response, OutgoingRequest request, IProxy sender, CancellationToken cancellationToken)

Parameters

response IncomingResponse

The incoming response.

request OutgoingRequest

The outgoing request.

sender IProxy

The proxy that sent the request.

cancellationToken CancellationToken

A cancellation token that receives the cancellation requests.

Returns

ValueTask

A value task that contains a SliceException when the status code of the response is ApplicationError.