File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const DEFAULT_CLOSE_TIMEOUT: Duration = Duration::from_secs(5);
68
68
pub struct WebSocketConfig {
69
69
pub max_message_size : usize ,
70
70
#[ cfg( feature = "deflate" ) ]
71
- pub deflate_config : Option < ratchet:: DeflateConfig > ,
71
+ pub deflate_config : Option < ratchet:: deflate :: DeflateConfig > ,
72
72
}
73
73
74
74
impl Default for WebSocketConfig {
@@ -134,7 +134,7 @@ impl SwimClientBuilder {
134
134
135
135
/// Sets the deflate extension configuration for WebSocket connections.
136
136
#[ cfg( feature = "deflate" ) ]
137
- pub fn set_deflate_config ( mut self , to : ratchet:: DeflateConfig ) -> SwimClientBuilder {
137
+ pub fn set_deflate_config ( mut self , to : ratchet:: deflate :: DeflateConfig ) -> SwimClientBuilder {
138
138
self . client_config . websocket . deflate_config = Some ( to) ;
139
139
self
140
140
}
@@ -226,7 +226,7 @@ where
226
226
max_message_size : websocket. max_message_size ,
227
227
} ) ;
228
228
229
- let provider = ratchet:: DeflateExtProvider :: with_config (
229
+ let provider = ratchet:: deflate :: DeflateExtProvider :: with_config (
230
230
websocket. deflate_config . unwrap_or_default ( ) ,
231
231
) ;
232
232
You can’t perform that action at this time.
0 commit comments