Open Issues Need Help
View All on GitHubAI Summary: The issue describes an outdated example in the `actix-ws` crate's documentation. The example uses the deprecated `.next()` method instead of the correct `.recv()` method for receiving messages from a stream. The task requires updating the example code in the `actix-ws` crate's documentation to reflect the current, correct usage of `.recv()` for message reception.
A collection of additional crates supporting the actix and actix-web frameworks.
AI Summary: The task is to modify the `actix_ws::Session` to implement the `Sink` trait, allowing for easier testing by enabling replacement with a channel. This requires addressing the current design where the `close` method takes ownership of the `Session` to prevent multiple closes, potentially by removing ownership from the `close` method and relying on internal checks to prevent sending multiple close frames.
A collection of additional crates supporting the actix and actix-web frameworks.