Alexey Galakhov
|
e3c0ec30c8
|
Fix close handling while read.
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
8 years ago |
Denis Andrejew
|
624f1dec1a
|
improve doc in protocol/mod.rs
|
8 years ago |
Alexey Galakhov
|
66e30b2767
|
Return close frame with ConnectionClosed
This is a breaking change, thus bump the API version.
Closes: #10
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
8 years ago |
Alexey Galakhov
|
bd37c71609
|
Replace tuple with CloseFrame struct
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
8 years ago |
Ran Benita
|
ae30b8cd76
|
Apply a couple trivial clippy suggestions
|
8 years ago |
Alexey Galakhov
|
e2b7b73e72
|
Improve documentation.
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
8 years ago |
Alexey Galakhov
|
53aa24b06b
|
Fix warnings
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
8 years ago |
Alexey Galakhov
|
037dea1f8e
|
Add possibility to send pings
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
8 years ago |
Alexey Galakhov
|
06a39b4962
|
protocol: add get_ref() and get_mut()
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
|
8 years ago |
Alexey Galakhov
|
9e00140e19
|
trivial: debug logging cleanup
|
8 years ago |
Alexey Galakhov
|
334ceab2b0
|
protocol: less strict trait requirements
|
8 years ago |
Alexey Galakhov
|
604e2021ce
|
protocol: add write_pending() functions
The semantics of write_message() and write_frame()
is changed accordingly.
|
8 years ago |
Alexey Galakhov
|
d27f768599
|
protocol: fix infinite loop in non-blocking mode
|
8 years ago |
Daniel Abramov
|
0938a17552
|
Move `no_block()` related stuff into seperate mod
|
8 years ago |
Alexey Galakhov
|
3bb4331f4f
|
protocol: fix bug with async handling
|
8 years ago |
Alexey Galakhov
|
46bfd81539
|
protocol: correct non-blocking handling
|
8 years ago |
Alexey Galakhov
|
4714773370
|
close: implement complete close handshake
|
8 years ago |
Alexey Galakhov
|
e63f594a14
|
Initial commit, mostly working client
|
8 years ago |