Class HttpClientBuilderExtensions
Extensions methods for
Inheritance
System.Object
HttpClientBuilderExtensions
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Diagnostics.Common
Assembly: Google.Cloud.Diagnostics.Common.dll
Syntax
public static class HttpClientBuilderExtensions
Methods
AddOutgoingGoogleTraceHandler(IHttpClientBuilder)
Adds an UnchainedTraceHeaderPropagatingHandler to the HTTP client being built, which will propagate trace information for outgoing requests, made with this client, when the request being handled by this server is already being traced
Declaration
public static IHttpClientBuilder AddOutgoingGoogleTraceHandler(this IHttpClientBuilder clientBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| IHttpClientBuilder | clientBuilder |
Returns
| Type | Description |
|---|---|
| IHttpClientBuilder |