Interface IGrpcMappingContext
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
MethodName
Gets or sets the service method name.
string? MethodName { get; set; }
Property Value
Methods
SetHeader(string, string)
Sets a custom header on the call.
void SetHeader(string key, string value)