Commit Graph

32 Commits (57d9e23939085c342949e62df799d75ed7c27d2f)

Author SHA1 Message Date
Alex Butler 0cada00fb5 Refactor write_one_frame -> buffer_frame 2 years ago
Alex Butler 1b47964f18 split write and write_out_buffer internals 2 years ago
Alex Butler 2ef5b9a5e2 Buffer writes before writing to the underlying stream 2 years ago
Alex Butler 84a54b76e6 Rename methods to `read`, `send`, `write` & `flush` 2 years ago
Alex Butler 0203a1849b Remove send_queue, use out_buffer instead 2 years ago
Alex Butler 483d229707 Remove implicit write flushing 2 years ago
Daniel Abramov fd96a35300 tests: add a regression test for the queue logic 3 years ago
Alexey Galakhov 0b9d2a649b
Revert "add support for batching websocket messages" 3 years ago
RustUser246 68daa29b19 add support for batching websocket messages 3 years ago
Daniel Abramov 2787031c2f Replace `InputBuffer` with a faster alternative 4 years ago
WiredSound 79dcf9f77c Use matches! macro in tests 4 years ago
WiredSound 652a6b776e Rename CapacityErrorType to just CapacityError, implement using thiserror 4 years ago
WiredSound 0b34bee94f Add capacity error types 4 years ago
Daniel Abramov 96d9eb75e5 chore: apply `fmt` to the whole project 4 years ago
Sebastian Dröge 7a4779b6f6 Run everything through rustfmt 5 years ago
Alexey Galakhov 2903a02ef5 frame: correct possible infinite loop on sending 6 years ago
Artem Vorotnikov cbf80ecc76
Edition 2018, formatting, clippy fixes 6 years ago
Yusuke Sasaki 828eafd400 extract the context values from `WebSocket` 6 years ago
Alexey Galakhov e6ebf5ac76 trivial: style fixes 7 years ago
Alexey Galakhov 3772aaf163 chore: introduce frame size limit 7 years ago
Alexey Galakhov 75aa0d54f3 refactor: parse header separately from payload 7 years ago
Sean Schwartz 66d2c15f2d Derive Debugs 7 years ago
Alexey Galakhov 6f8c4e7034 Use input_buffer as separate crate. 7 years ago
Alexey Galakhov 6d10b40215 Flush stream after sending message 8 years ago
Alexey Galakhov 01a9211a84 Move mask functions into a separate file 8 years ago
Alexey Galakhov bd37c71609 Replace tuple with CloseFrame struct 8 years ago
Alexey Galakhov e2b7b73e72 Improve documentation. 8 years ago
Alexey Galakhov 06a39b4962 protocol: add get_ref() and get_mut() 8 years ago
Alexey Galakhov 9e00140e19 trivial: debug logging cleanup 8 years ago
Alexey Galakhov 604e2021ce protocol: add write_pending() functions 8 years ago
Alexey Galakhov 422f7bbc45 trivial: move MIN_READ to input_buffer 8 years ago
Alexey Galakhov e63f594a14 Initial commit, mostly working client 8 years ago