I am using an ASP.NET Core Web API application. I have an endpoint in which a user can upload a file. The file is uploaded in chunks, once all the chunks are uploaded then the file is merged into the actual file after that I am encrypting the file using symmetric key algorithm.
I want to send the user interactive multiple responses of each stage like below:
File Uploaded
Merging File
File Merged
Encrypting File
File Encrypted
Done
How to send these above steps as responses from one endpoint?