Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Add reply to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Azoy committed Dec 4, 2017
1 parent 7404e77 commit d2eee50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ rpc.onJoinRequest { rpc, secret, request in
print(request.avatar)
print(request.discriminator)
print(request.userId)

rpc.reply(to: request, with: .yes) // or .no or .ignore
}
```

Expand Down

0 comments on commit d2eee50

Please sign in to comment.