Liking cljdoc? Tell your friends :D
Clojure only.

halo-query.core


queryclj

(query host port)

Query a Halo Custom Edition Server, returns an array map containing the server information.

(query "216.128.147.196" 2302)
;; => {:maxplayers 16,
       :numplayers 1,
       :hostname "Halo",
       :gametype "Slayer",
       :hostport 2302,
       :mapname "bloodgulch",
       :players [{:name "New001", :score 0, :ping 32, :team 0}],
       :dedicated true,
       ...}
Query a Halo Custom Edition Server,
returns an array map containing the
server information.

```clojure
(query "216.128.147.196" 2302)
;; => {:maxplayers 16,
       :numplayers 1,
       :hostname "Halo",
       :gametype "Slayer",
       :hostport 2302,
       :mapname "bloodgulch",
       :players [{:name "New001", :score 0, :ping 32, :team 0}],
       :dedicated true,
       ...}
```
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close