Method | Description | |
---|---|---|
FileResponse ( |
Initializes new FileResponse. Tries to parse mime-type from filename.
|
|
FileResponse ( |
Initializes new FileResponse
|
public FileResponse ( |
||
content | File content | |
filename | string | File name, should include extension for mime parsing to work. |
return | System.IO |
public FileResponse ( |
||
content | File content | |
filename | string | File name |
contentType | string | Mime content type for file |
return | System.IO |