Summary
In this chapter, we have learned several things.
The first thing we learned is how to process multipart forms in Rocket. After that, we learned how to use TempFile
to upload files. Along with uploading photos and videos, we learned how to process the image files and video files.
We learned more about concurrent programming with async
/await
and multithreading. We also covered how to create a thread and pass a message to a different thread.
In the next chapter, we will focus on how to do authentication, authorization, and serving the API from the Rocket application.