pub fn max_message_size(mut self, max: usize) -> Self {
        self.config
            .get_or_insert_with(|| WebSocketConfig::default())
            .max_message_size = Some(max);
        self
    }
/// Set the maximum message size (defaults to 64 megabytes)
Set the maximum message size (defaults to 64 megabytes)
Set the maximum message size ( defaults to 64 megabytes )
pub fn max_message_size(mut self, max: usize) -> Self {
        self.config
            .get_or_insert_with(|| WebSocketConfig::default())
            .max_message_size = Some(max);
        self
    }
pub fn max_message_size ( mut self , max : usize ) -> Self { self . config . get_or_insert_with ( | | WebSocketConfig :: default ( ) ) . max_message_size = Some ( max ) ; self }
Set the maximum message size (defaults to 64 megabytes)
Set the maximum message size ( defaults to 64 megabytes )
mut self
max
usize
mut self
max
usize