You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tonic's Endpoint type has many configurable parameters, for example keep_alive_interval
ginepro internally constructs Endpoint instances from socket addresses, and then applies some limited configuration values (like tls and timeout), but otherwise most settings remain the default.
Solution
It's probably not practical or ergonomic to specify every configuration value in ginepro's API; however it would be useful if the library could accept something like a Fn(SocketAddr) -> Result<Endpoint, SomeError> so that the user could configure an endpoint while the library handles stuff like periodic dns lookups
The text was updated successfully, but these errors were encountered:
Motivations
tonic's Endpoint type has many configurable parameters, for example keep_alive_interval
ginepro internally constructs Endpoint instances from socket addresses, and then applies some limited configuration values (like tls and timeout), but otherwise most settings remain the default.
Solution
It's probably not practical or ergonomic to specify every configuration value in ginepro's API; however it would be useful if the library could accept something like a
Fn(SocketAddr) -> Result<Endpoint, SomeError>
so that the user could configure an endpoint while the library handles stuff like periodic dns lookupsThe text was updated successfully, but these errors were encountered: