Class: Temporalio::Client::Connection::HTTPConnectProxyOptions

Inherits:
Data
  • Object
show all
Defined in:
lib/temporalio/client/connection.rb,
lib/temporalio/client/connection.rb

Overview

Options for HTTP CONNECT proxy for client connections.

Instance Attribute Summary collapse

Instance Attribute Details

#basic_auth_passString?

Returns Pass for HTTP basic auth for the proxy, must be combined with #basic_auth_user.

Returns:

  • (String, nil)

    Pass for HTTP basic auth for the proxy, must be combined with #basic_auth_user.



133
134
135
# File 'lib/temporalio/client/connection.rb', line 133

def basic_auth_pass
  @basic_auth_pass
end

#basic_auth_userString?

Returns User for HTTP basic auth for the proxy, must be combined with #basic_auth_pass.

Returns:

  • (String, nil)

    User for HTTP basic auth for the proxy, must be combined with #basic_auth_pass.



133
134
135
# File 'lib/temporalio/client/connection.rb', line 133

def basic_auth_user
  @basic_auth_user
end

#target_hostString

Returns Target for the HTTP CONNECT proxy. Use host:port for TCP, or unix:/path/to/unix.sock for Unix socket (meaning it’ll start with “unix:/”).

Returns:

  • (String)

    Target for the HTTP CONNECT proxy. Use host:port for TCP, or unix:/path/to/unix.sock for Unix socket (meaning it’ll start with “unix:/”).



133
134
135
# File 'lib/temporalio/client/connection.rb', line 133

def target_host
  @target_host
end