view doc/src/api/event/onConnect.md @ 614:ebdc614db066

Docs: get rid of metadata
author David Demelier <markand@malikania.fr>
date Sun, 17 Dec 2017 09:21:49 +0100
parents bb9771fb5f44
children
line wrap: on
line source

# Event onConnect

This callback is called when the irccd instance successfully connect to a
server.

# Synopsis

```javascript
function onConnect(server)
```

# Arguments

  - **server**: the current server.