IWebApiCreateFileResponse(String, String, String, String) Method
|
Create http file response with a given file name, file path, media type and disposition header. The file can be downloaded or
will be viewed in the browser client.
Namespace: Casewhere.WebTrigger.DSLAssembly: Casewhere.WebTrigger (in Casewhere.WebTrigger.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxvoid CreateFileResponse(
string fileName,
string filePath,
string mediaType = "application/octet-stream",
string dispositionHeader = "attachment"
)
Parameters
- fileName String
- filePath String
- mediaType String (Optional)
- dispositionHeader String (Optional)
See Also