Skip to content

Commit 3717a18

Browse files
committed
Finish fixing
1 parent fdb7f00 commit 3717a18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reference/Sockets.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Sockets
2+
23
### Overview
34

45
Sails exposes several low-level methods for realtime communication with the client via `sails.sockets`. These methods are implemented using a [Socket.io](http://socket.io) connection which is available as `sails.io`; however, using the `sails.sockets` methods instead will future-proof your app against possible changes in underlying implementation. If your app is mainly sending messages to the client regarding changes in your models, you should try and use the [model PubSub methods](https://github.com/balderdashy/sails-docs/blob/0.10/reference/ModelMethods.md#publishcreate-datasocket-) instead.

0 commit comments

Comments
 (0)