I want to stream a file in a reactive way using spring webflux.
How my endpoint should look like more specific what is the type of the object ?
@GetMapping("/file")
Flux<???> file() {
//Read file content into this ??? thing .
}
I want to stream a file in a reactive way using spring webflux.
How my endpoint should look like more specific what is the type of the object ?
@GetMapping("/file")
Flux<???> file() {
//Read file content into this ??? thing .
}