mirror of
https://github.com/mcilya/nimrcon
synced 2026-01-14 19:11:37 +00:00
No description
|
|
||
|---|---|---|
| src | ||
| LICENSE | ||
| nimrcon.nimble | ||
| README.md | ||
Nimrcon
Simple RCON in Nim
Usage
import nimrcon
let conn = newRCONConnection("local.host", 27015, "hunter2")
discard conn.exec("command")
# by default returns Packet(size, id, type, body) object
var resp = conn.exec("command with args")
echo resp.toJSON # converting to JSON
Features
- Simple
- Missing support for Multi-packet response