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: 13.0.131
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