GetFileServiceSetResponseHeaders Method |
Sets response headers.
Namespace: CMS.Routing.WebAssembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 13.0.131
Syntax protected void SetResponseHeaders(
CMSFileResult fileResult,
string fileName,
string extension,
string mimeType
)
Parameters
- fileResult
- Type: CMS.Base.RoutingCMSFileResult
The CMSFileResult object to set properties on. - fileName
- Type: SystemString
File name - extension
- Type: SystemString
File extension - mimeType
- Type: SystemString
File MIME type
See Also