Table of Contents

Class HttpConnectProxyOptions

Namespace
Temporalio.Client
Assembly
Temporalio.dll

HTTP connect proxy options for Temporal connections.

public class HttpConnectProxyOptions : ICloneable
Inheritance
HttpConnectProxyOptions
Implements
Inherited Members

Constructors

HttpConnectProxyOptions()

Initializes a new instance of the HttpConnectProxyOptions class.

public HttpConnectProxyOptions()

Remarks

TargetHost must be set.

HttpConnectProxyOptions(string)

Initializes a new instance of the HttpConnectProxyOptions class.

public HttpConnectProxyOptions(string targetHost)

Parameters

targetHost string

A host:port string representing the target to proxy through.

Properties

BasicAuth

Gets or sets HTTP basic auth for the proxy.

public (string Username, string Password)? BasicAuth { get; set; }

Property Value

(string Username, string Password)?

TargetHost

Gets or sets the target host to proxy through as a host:port string.

public string? TargetHost { get; set; }

Property Value

string

Remarks

This is required for all proxy options.

Methods

Clone()

Create a shallow copy of these options.

public virtual object Clone()

Returns

object

A shallow copy of these options.