Show / Hide Table of Contents

    Class GrpcServerHttpClientBuilderExtensions

    Extension methods for configuring an .

    Inheritance
    System.Object
    GrpcServerHttpClientBuilderExtensions
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Grpc.AspNetCore.Server.ClientFactory.dll
    Syntax
    public static class GrpcServerHttpClientBuilderExtensions : object

    Methods

    EnableCallContextPropagation(IHttpClientBuilder)

    Configures the server to propagate values from a call's onto the gRPC client.

    Declaration
    public static IHttpClientBuilder EnableCallContextPropagation(this IHttpClientBuilder builder)
    Parameters
    Type Name Description
    IHttpClientBuilder builder

    The .

    Returns
    Type Description
    IHttpClientBuilder

    An that can be used to configure the client.

    Back to top Generated by DocFX