chronoxor / NetCoreServer

Ultra fast and low latency asynchronous socket server & client C# .NET Core library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution
https://chronoxor.github.io/NetCoreServer
MIT License
2.63k stars 550 forks source link

Ask a question about file service、 #302

Open WangYou77 opened 2 months ago

WangYou77 commented 2 months ago

I encountered a problem when using HttpServer. I hope you can help me: how can I stream back files instead of reading the memory first and then returning. In ASP The body of HttpResponse in NET Core is of type Stearm, but the body of HttpResponse in NetCoreServer is of type byte []. What should I do.