Table of Contents

Class IProcessService.Request

Namespace
IceRpc.Ice
Assembly
IceRpc.Locator.dll

Provides static methods that decode request payloads.

public static class IProcessService.Request
Inheritance
IProcessService.Request
Inherited Members

Methods

DecodeShutdownAsync(IncomingRequest, CancellationToken)

Decodes the request payload of operation shutdown.

public static ValueTask DecodeShutdownAsync(IncomingRequest request, CancellationToken cancellationToken)

Parameters

request IncomingRequest

The incoming request.

cancellationToken CancellationToken

A cancellation token that receives the cancellation requests.

Returns

ValueTask

A value task that completes when the decoding of the request payload completes.

DecodeWriteMessageAsync(IncomingRequest, CancellationToken)

Decodes the request payload of operation writeMessage.

public static ValueTask<(string Message, int Fd)> DecodeWriteMessageAsync(IncomingRequest request, CancellationToken cancellationToken)

Parameters

request IncomingRequest

The incoming request.

cancellationToken CancellationToken

A cancellation token that receives the cancellation requests.

Returns

ValueTask<(string Message, int Fd)>

A value task that completes when the decoding of the request payload completes.