docs.unity.cn
    Show / Hide Table of Contents

    Method GetResponseHeader

    GetResponseHeader(String)

    Retrieves the value of a response header from the latest HTTP response received.

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

    The name of the HTTP header to retrieve. Case-insensitive.

    Returns
    Type Description
    String

    The value of the HTTP header from the latest HTTP response. If no header with a matching name has been received, or no responses have been received, returns null.

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