fix(transport): Rename server tls config method (#73)

BREAKING CHANGE: `rustls_client_config` for the server has been renamed to `rustls_server_config`.
This commit is contained in:
James Nugent
2019-10-18 23:28:25 +02:00
committed by Lucio Franco
parent 51ce0b9463
commit 2a4bdb24f6
+1 -1
View File
@@ -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 {