webcc
webcc copied to clipboard
How to streaming files, i.e., for MP4 file?
In Multimedia Files transmission, streaming is important, how can we use webcc to achieve this?
Thanks.
Multipart form doesn't support streaming.
If you don't mean multipart form data, here are some examples for data streaming:
Client: https://github.com/sprinfall/webcc/blob/master/examples/file_downloader.cc
Server: https://github.com/sprinfall/webcc/blob/master/examples/static_file_server.cc
Server (RESTful): https://github.com/sprinfall/webcc/blob/master/examples/book_server/views.cc (see BookPhotoView::Put()
)