Skip to content

Commit

Permalink
Fix invalid tcp listener in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunayf committed Sep 14, 2023
1 parent d627514 commit 5dc1ba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ service on new tcp:Listener(3000) {
}
service class EchoService {
*tcp:ConnectionService;
remote function onBytes(readonly & byte[] data) returns byte[]|tcp:Error? {
// echo back the data to the client
Expand Down

0 comments on commit 5dc1ba9

Please sign in to comment.