#multipart #hyper #http #set #env #body

hyper_multipart

Http multipart handling for Hyper

4 releases

0.2.0 May 17, 2019
0.1.2 Feb 17, 2019
0.1.1 Feb 14, 2019
0.1.0 Feb 9, 2019

#38 in #multipart

MIT license

6MB
252 lines

Multipart body parsing of hyper responses

Examples

To run the examples, the env STREAM_URL must be set. To see some output, set env RUST_LOG={example}=debug

TODO

Some camera streams seems to be implicit multipart. I.e they send a continous stream of jpeg responses. This is easily handled by looking at the response header. If the header is non multipart we just continously parse multipart chunks from it. Make sure Hyper does not already do this.....

Dependencies

~8MB
~134K SLoC