Skip to content

Commit

Permalink
fixed reply
Browse files Browse the repository at this point in the history
  • Loading branch information
fed135 committed Jan 27, 2018
1 parent 5b71784 commit c8777a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Giving profiles to your traffic output creates a more predictable load on the sy
req.client The connection handle reference
req.frame The details of the network frame
req.session The session store for that connection
req.reply Replys to the other client on the same channel
*/
});

Expand Down
2 changes: 1 addition & 1 deletion src/components/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function Client(scope, queueList, multiplex, serializer, sessions, encrypter) {
return {
body,
client: scope,
reply: scope.write,
reply: scope.write.bind(null, frame.channel),
frame: {
id: frame.frame,
channel: frame.channel,
Expand Down

0 comments on commit c8777a1

Please sign in to comment.