Table of Contents

Interface IGrpcMappingContext

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.Abstractions.dll

gRPC-specific mapping context for configuring message properties.

public interface IGrpcMappingContext
Extension Methods

Properties

Deadline

Gets or sets the deadline for the call.

TimeSpan? Deadline { get; set; }

Property Value

TimeSpan?

MethodName

Gets or sets the service method name.

string? MethodName { get; set; }

Property Value

string

Methods

SetHeader(string, string)

Sets a custom header on the call.

void SetHeader(string key, string value)

Parameters

key string

The header key.

value string

The header value.