docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct HTTPRequestCompleted_t

    callbacks

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    [Serializable]
    [CallbackIdentity(2101)]
    public struct HTTPRequestCompleted_t

    Fields

    k_iCallback

    The identifier Steam dispatches this callback under.

    Declaration
    public const int k_iCallback = 2101
    Field Value
    Type Description
    int

    m_bRequestSuccessful

    This will be true if we actually got any sort of response from the server (even an error). It will be false if we failed due to an internal error or client side network failure.

    Declaration
    public bool m_bRequestSuccessful
    Field Value
    Type Description
    bool

    m_eStatusCode

    Will be the HTTP status code value returned by the server, k_EHTTPStatusCode200OK is the normal OK response, if you get something else you probably need to treat it as a failure.

    Declaration
    public EHTTPStatusCode m_eStatusCode
    Field Value
    Type Description
    EHTTPStatusCode

    m_hRequest

    Handle value for the request that has completed.

    Declaration
    public HTTPRequestHandle m_hRequest
    Field Value
    Type Description
    HTTPRequestHandle

    m_ulContextValue

    Context value that the user defined on the request that this callback is associated with, 0 if no context value was set.

    Declaration
    public ulong m_ulContextValue
    Field Value
    Type Description
    ulong

    m_unBodySize

    Same as GetHTTPResponseBodySize()

    Declaration
    public uint m_unBodySize
    Field Value
    Type Description
    uint
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)