Skip to content

Commit

Permalink
fix(transport): Rename server tls config method (#73)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `rustls_client_config` for the server has been renamed to `rustls_server_config`.
  • Loading branch information
jen20 authored and LucioFranco committed Oct 18, 2019
1 parent 51ce0b9 commit 2a4bdb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tonic/src/transport/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ impl ServerTlsConfig {
///
/// This overrides all other TLS options set via other means.
#[cfg(feature = "rustls")]
pub fn rustls_client_config(
pub fn rustls_server_config(
&mut self,
config: tokio_rustls::rustls::ServerConfig,
) -> &mut Self {
Expand Down

0 comments on commit 2a4bdb2

Please sign in to comment.