RequestHelperGetHeader Method |
Returns the value of specified HTTP header or default value if header is not defined.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static string GetHeader(
string name,
string defaultValue
)
Parameters
- name
- Type: SystemString
HTTP header name - defaultValue
- Type: SystemString
Default value to use if header not found
Return Value
Type:
StringHeader value or default value if not found
See Also