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