mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-08-04 12:33:42 +08:00
Progress: Documentation
This commit is contained in:
@@ -117,7 +117,7 @@ Establish connection to GarageServer.IO on the server via Socket.IO and register
|
||||
The URL that points to where GarageServer.IO is running at on the server.
|
||||
`options` **object literal**
|
||||
Configure the different options, events, callbacks that you would like to consume on the client.
|
||||
#### options
|
||||
#### Client Options
|
||||
---
|
||||
```js
|
||||
options.onPlayerConnect(callback)
|
||||
@@ -281,7 +281,7 @@ require('garageserver.io').createGarageServer(io, options) : GarageServerIO
|
||||
`io` **Socket.IO instance**
|
||||
|
||||
`options` **object literal**
|
||||
#### options
|
||||
#### Server Options
|
||||
---
|
||||
```js
|
||||
options.stateInterval
|
||||
|
||||
Reference in New Issue
Block a user