Server

class Server @JvmOverloads constructor(protocol: Server.ConnectionProtocol = ConnectionProtocol.HTTP, host: String, vHost: String, port: Int, type: String? = null, sourceID: Int = 0, cellID: Int = 0, load: Int = 0, weightedLoad: Float = 0.0f, numEntries: Int = 0, steamChinaOnly: Boolean = false, useAsProxy: Boolean = false, proxyRequestPathTemplate: String? = null, allowedAppIds: IntArray = IntArray(0))

Represents a single Steam3 'Steampipe' content server.

Constructors

Link copied to clipboard
constructor(protocol: Server.ConnectionProtocol = ConnectionProtocol.HTTP, host: String, vHost: String, port: Int, type: String? = null, sourceID: Int = 0, cellID: Int = 0, load: Int = 0, weightedLoad: Float = 0.0f, numEntries: Int = 0, steamChinaOnly: Boolean = false, useAsProxy: Boolean = false, proxyRequestPathTemplate: String? = null, allowedAppIds: IntArray = IntArray(0))

Types

Link copied to clipboard

The protocol used to connect to this server

Properties

Link copied to clipboard

Gets the list of app ids this server can be used with.

Link copied to clipboard
var cellID: Int

Gets the CellID this server belongs to.

Link copied to clipboard

Gets the hostname of the server.

Link copied to clipboard
var load: Int

Gets the load value associated with this server.

Link copied to clipboard

Gets the number of entries this server is worth.

Link copied to clipboard
var port: Int

Gets the port of the server.

Link copied to clipboard

Gets the supported connection protocol of the server.

Link copied to clipboard

Gets the transformation template applied to request paths.

Link copied to clipboard

Gets the SourceID this server belongs to.

Link copied to clipboard

Gets the flag whether this server is for Steam China only.

Link copied to clipboard
var type: String?

Gets the type of the server.

Link copied to clipboard

Gets the download proxy status.

Link copied to clipboard

Gets the virtual hostname of the server.

Link copied to clipboard

Gets the weighted load.

Functions

Link copied to clipboard
open override fun toString(): String

Returns a string that represents this server.