Table of Contents

Interface IDispatchInformationFeature

Namespace
IceRpc.Features
Assembly
IceRpc.dll

Provides information about the current dispatch.

public interface IDispatchInformationFeature

Properties

ConnectionContext

Gets the connection context.

IConnectionContext ConnectionContext { get; }

Property Value

IConnectionContext

Fragment

Gets the fragment of the target service.

string Fragment { get; }

Property Value

string

The fragment of the target service. It is always the empty string with the icerpc protocol.

IsOneway

Gets a value indicating whether this request is one-way or two-way.

bool IsOneway { get; }

Property Value

bool

true for one-way requests; otherwise, false.

Operation

Gets the name of the operation to call on the target service.

string Operation { get; }

Property Value

string

The name of the operation.

Path

Gets the path of the target service.

string Path { get; }

Property Value

string

The path of the target service.

Protocol

Gets the protocol of the connection that received this request.

Protocol Protocol { get; }

Property Value

Protocol

The Protocol for the current dispatch.