Method ReturnFile
ReturnFile(HttpListenerContext, string, int)
Sends a file to the connected HTTP client
Declaration
protected virtual void ReturnFile(HttpListenerContext context, string filePath, int readBufferSize = 65536)
Parameters
Type | Name | Description |
---|---|---|
HttpListenerContext | context | |
string | filePath | |
int | readBufferSize |