struct RCON::Packet

Overview

Packet represents a message sent over the RCON protocol.

Defined in:

rconcr.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(command_type : Command, command : String) #

[View source]
def self.new(command_type : Command, payload : Bytes, request_id : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def command_type : Command #

[View source]
def payload : Bytes #

[View source]
def request_id : Int32 | Nil #

[View source]
def request_id? : Int32 | Nil | Nil #

[View source]