From 60a259e899893a16f2ca19cdfbf8f97c86dea7fb Mon Sep 17 00:00:00 2001 From: mateusvicente100 Date: Tue, 9 Jun 2020 15:09:46 -0300 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4ac9771..55fbb48 100644 --- a/README.md +++ b/README.md @@ -37,18 +37,18 @@ Create an instance of TWebSocketClient and assign the propertys and events liste ```pascal procedure Start; var - LWebSocket: TBirdSocketClient; + LBirdSocket: TBirdSocketClient; begin - LWebSocket := TBirdSocketClient.New('ws://localhost:8080'); + LBirdSocket := TBirdSocketClient.New('ws://localhost:8080'); - LWebSocket.AddEventListener(TEventType.MESSAGE, + LBirdSocket.AddEventListener(TEventType.MESSAGE, procedure(const AText: string) begin Log(AText); end); - LWebSocket.Connect; - LWebSocket.Send('Hello Server'); + LBirdSocket.Connect; + LBirdSocket.Send('Hello Server'); end; ```