view doc/html/api/module/Irccd.Server/method/info.md @ 254:93a227277786

Irccd: various fixes for further cross-compilation
author David Demelier <markand@malikania.fr>
date Mon, 05 Sep 2016 12:53:13 +0200
parents 392778b6d3c9
children 904ee87bc808
line wrap: on
line source

---
method: info
summary: "Get server information."
synopsis: "info = Server.prototype.info()"
returns: "The server information."
---

The returned object  has the following fields:

  - **name**: (string) the server unique name,
  - **host**: (string) the host name,
  - **port**: (int) the port number,
  - **ssl**: (bool) true if using ssl,
  - **sslVerify**: (bool) true if ssl was verified,
  - **channels**: (string list) an array of all channels,
  - **realname**: (string) the current real name,
  - **username**: (string) the user name,
  - **nickname**: (string) the current nickname.