GrpcClient.Connection.Config (GrpcClient v0.1.1)
Configuration the GrpcClient connection
options
Options
:mint_opts
- (default:[protocols: [:http2], mode: :active]
) a keyword list of options to pass to mint. The default values cannot be overridden.:host
- (default:"localhost"
) the host address of the EventStoreDB:port
- (default:2113
) the external gRPC port of the EventStoreDB:tls?
- (default:false
) whether or not to use TLS to secure the connection to the EventStoreDB:keep_alive_interval
- (default:10_000
ms - 10s) the period to send keep-alive pings to the EventStoreDB. Set-1
to disable keep-alive checks. Should be any integer value>= 10_000
. This option can be used in conjunction with:keep_alive_timeout
to properly disconnect if the EventStoreDB is not responding to network traffic.:keep_alive_timeout
- (default:10_000
ms - 10s) the time after sending a keep-alive ping when the ping will be considered unacknowledged. Used in conjunction with:keep_alive_interval
. Set to-1
to disable keep-alive checks. Should be any integer value>= 10_000
.:url
- The default value is"http://localhost:50051"
.:ssl_key_log_file
:keep_alive_interval
- The default value is10000
.:keep_alive_timeout
- The default value is10000
.:mint_opts
- Required.
Link to this section Summary
Link to this section Types
@type t() :: %GrpcClient.Connection.Config{ host: Mint.Types.address(), keep_alive_interval: pos_integer() | false, keep_alive_timeout: pos_integer() | false, mint_opts: Keyword.t(), port: :inet.port_number(), scheme: :http | :https, ssl_key_log_file: String.t() | nil }
Configuration for a TODO
.