swiftlys2/docs/api/releases/features/ai/
API Reference › SteamAPI

HTTPRequestCompleted_t

Struct
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public struct HTTPRequestCompleted_t

callbacks

View source

Fields

k_iCallback

public const int k_iCallback = 2101
Field Value

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.

public bool m_bRequestSuccessful
Field Value

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.

public EHTTPStatusCode m_eStatusCode
Field Value

m_hRequest

Handle value for the request that has completed.

public HTTPRequestHandle m_hRequest

m_ulContextValue

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

public ulong m_ulContextValue
Field Value

m_unBodySize

Same as GetHTTPResponseBodySize()

public uint m_unBodySize
Field Value