class

Steamcr::Server

Inherits Reference < Object

Represents a Steam server we can use @example Creating server object server = Server.new('127.0.0.1', 123) puts server.host # => '127.0.0.1' puts server.port # => 123

@see Networking::Connection

Constructors

new(host : String, port : Int32)

Instantiate a Server

@param host [String] the server host @param port [String] the server port

Source

Instance methods

host

The host IP of the Steam server

Source
port

The host port of the Steam server

Source