Skip to content

Commit

Permalink
Rename response variable into textMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
ldclakmal committed Jun 14, 2021
1 parent 646a5fc commit 845ed03
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ websocket:Client securedEP = check new("wss://localhost:9090/foo/bar",

public function main() returns error? {
check securedEP->writeTextMessage("Hello, World!");
string response = check securedEP->readTextMessage();
io:println(response);
string textMessage = check securedEP->readTextMessage();
io:println(textMessage);
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ websocket:Client securedEP = check new("wss://localhost:9090/foo/bar",

public function main() returns error? {
check securedEP->writeTextMessage("Hello, World!");
string response = check securedEP->readTextMessage();
io:println(response);
string textMessage = check securedEP->readTextMessage();
io:println(textMessage);
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ websocket:Client securedEP = check new("wss://localhost:9090/foo/bar",

public function main() returns error? {
check securedEP->writeTextMessage("Hello, World!");
string response = check securedEP->readTextMessage();
io:println(response);
string textMessage = check securedEP->readTextMessage();
io:println(textMessage);
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ websocket:Client securedEP = check new("wss://localhost:9090/foo/bar",

public function main() returns error? {
check securedEP->writeTextMessage("Hello, World!");
string response = check securedEP->readTextMessage();
io:println(response);
string textMessage = check securedEP->readTextMessage();
io:println(textMessage);
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ websocket:Client securedEP = check new("wss://localhost:9090/foo/bar",

public function main() returns error? {
check securedEP->writeTextMessage("Hello, World!");
string response = check securedEP->readTextMessage();
io:println(response);
string textMessage = check securedEP->readTextMessage();
io:println(textMessage);
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ websocket:Client securedEP = check new("wss://localhost:9090/foo/bar",

public function main() returns error? {
check securedEP->writeTextMessage("Hello, World!");
string response = check securedEP->readTextMessage();
io:println(response);
string textMessage = check securedEP->readTextMessage();
io:println(textMessage);
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ websocket:Client securedEP = check new("wss://localhost:9090/foo/bar",

public function main() returns error? {
check securedEP->writeTextMessage("Hello, World!");
string response = check securedEP->readTextMessage();
io:println(response);
string textMessage = check securedEP->readTextMessage();
io:println(textMessage);
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ websocket:Client securedEP = check new("wss://localhost:9090/foo/bar",

public function main() returns error? {
check securedEP->writeTextMessage("Hello, World!");
string response = check securedEP->readTextMessage();
io:println(response);
string textMessage = check securedEP->readTextMessage();
io:println(textMessage);
}

0 comments on commit 845ed03

Please sign in to comment.