snapview / tungstenite-rs

Lightweight stream-based WebSocket implementation for Rust.
Apache License 2.0
1.87k stars 215 forks source link

handshake: server: Make 'create_response_with_body' function more generic #421

Closed bartelsielski closed 5 months ago

bartelsielski commented 5 months ago

This makes it more possible to use the library handshake creation when the request and response body types differ.