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:
committed by
Lucio Franco
parent
51ce0b9463
commit
2a4bdb24f6
@@ -286,7 +286,7 @@ impl ServerTlsConfig {
|
|||||||
///
|
///
|
||||||
/// This overrides all other TLS options set via other means.
|
/// This overrides all other TLS options set via other means.
|
||||||
#[cfg(feature = "rustls")]
|
#[cfg(feature = "rustls")]
|
||||||
pub fn rustls_client_config(
|
pub fn rustls_server_config(
|
||||||
&mut self,
|
&mut self,
|
||||||
config: tokio_rustls::rustls::ServerConfig,
|
config: tokio_rustls::rustls::ServerConfig,
|
||||||
) -> &mut Self {
|
) -> &mut Self {
|
||||||
|
|||||||
Reference in New Issue
Block a user