add streaming body to requests and responses #3

Merged
lx merged 64 commits from stream-body into main 2022-09-13 10:56:54 +00:00
Showing only changes of commit 18d5abc981 - Show all commits

View file

@ -28,6 +28,7 @@ use crate::stream::*;
// - if error: // - if error:
// - u8: error kind, encoded using error::io_errorkind_to_u8 // - u8: error kind, encoded using error::io_errorkind_to_u8
// - rest: error message // - rest: error message
// - absent for cancel message
pub(crate) type RequestID = u32; pub(crate) type RequestID = u32;
pub(crate) type ChunkLength = u16; pub(crate) type ChunkLength = u16;