-
| I have a very large packet (eg. 15 mb) to receive in websocket, But I noticed that the default size of each packet is 65536, which is defined in this line, and there is no way I can modify it through StreamingBody. How can I increase the size? PS: I use this line to establish websocket connection: let (response, mut session, mut stream) = actix_ws::handle(&req, body)?; | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            robjtede
          
      
      
        Dec 29, 2024 
      
    
    Replies: 1 comment
-
| Changing the max frame size is shown in this example: actix-extras/actix-ws/examples/chat.rs Line 71 in 18f94fa | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        robjtede
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Changing the max frame size is shown in this example:
actix-extras/actix-ws/examples/chat.rs
Line 71 in 18f94fa