HTTPRequestCompleted
Swift
public struct HTTPRequestCompleted: Sendable
Steamworks HTTPRequestCompleted_t
Topics
var request: HTTPRequestHandle
var request: HTTPRequestHandle
var contextValue: UInt64
var contextValue: UInt64
var requestSuccessful: Bool
var requestSuccessful: Bool
var statusCode: HTTPStatusCode
var statusCode: HTTPStatusCode
var bodySize: Int
var bodySize: Int
init(request: HTTPRequestHandle, contextValue: UInt64, requestSuccessful: Bool, statusCode: HTTPStatusCode, bodySize: Int)
init(request: HTTPRequestHandle, contextValue: UInt64, requestSuccessful: Bool, statusCode: HTTPStatusCode, bodySize: Int)
Create a customized HTTPRequestCompleted
Declaration
Swift
public init(
request: HTTPRequestHandle = 0, contextValue: UInt64 = 0,
requestSuccessful: Bool = false, statusCode: HTTPStatusCode = .invalid,
bodySize: Int = 0)