Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusvicente100 committed Jun 9, 2020
1 parent 2ba7e60 commit 60a259e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
```

Expand Down

0 comments on commit 60a259e

Please sign in to comment.