IWebApiCreateFileResponse(DocumentInfo, String, String) Method
|
Create http file response with a given document info, 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(
DocumentInfo documentInfo,
string mediaType = "application/octet-stream",
string dispositionHeader = "attachment"
)
Parameters
- documentInfo DocumentInfo
- mediaType String (Optional)
- dispositionHeader String (Optional)
See Also