Skip to content

Commit

Permalink
Merge pull request #1099 from nipunayf/master
Browse files Browse the repository at this point in the history
Fix invalid tcp listener in the Readme file
  • Loading branch information
dilanSachi authored Sep 14, 2023
2 parents d627514 + 5dc1ba9 commit bf3f2e6
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 bf3f2e6

Please sign in to comment.