Skip to content

Commit

Permalink
fix(transport): Rename server tls config method (hyperium#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 blittable committed Oct 22, 2019
1 parent 90dbad8 commit f4b4d65
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 f4b4d65

Please sign in to comment.