We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 710cf25 commit 2d393fdCopy full SHA for 2d393fd
src/lib.rs
@@ -153,6 +153,11 @@ impl TlsConnector {
153
session,
154
}))
155
}
156
+
157
+ /// Get a read-only reference to underlying config
158
+ pub fn config(&self) -> &Arc<ClientConfig> {
159
+ &self.inner
160
+ }
161
162
163
impl TlsAcceptor {
@@ -188,6 +193,11 @@ impl TlsAcceptor {
188
193
state: TlsState::Stream,
189
194
190
195
196
197
198
+ pub fn config(&self) -> &Arc<ServerConfig> {
199
200
191
201
192
202
203
pub struct LazyConfigAcceptor<IO> {
0 commit comments