docs.unity.cn
    Show / Hide Table of Contents

    Method GetRequestHeader

    GetRequestHeader(String)

    Retrieves the value of a custom request header.

    Declaration
    string GetRequestHeader(string name)
    Parameters
    Type Name Description
    String name

    Name of the custom request header. Case-insensitive.

    Returns
    Type Description
    String

    The value of the custom request header. If no custom header with a matching name has been set, returns an empty string.

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Monday, March 13, 2023
    Terms of use