forked from crossbario/autobahn-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
WebSocket Echo Client | ||
WAMP CRA Client | ||
===================== | ||
|
||
This example implements a simple WebSocket client that send message to | ||
a WebSocket server which is supposed to echo back the message. The message | ||
is then shown in a popup. | ||
This example implements a Wamp client that authenticates and tests RPC and PubSub. | ||
|
||
For information on how to install AutobahnAndroid and get up and running, please | ||
check out the [Get Started](http://autobahn.ws/android/getstarted). | ||
|
||
WebSocket Echo Server | ||
WebSocket Wamp Cra Server | ||
--------------------- | ||
|
||
When you don't have a WebSocket echo server around, you can use the | ||
[WebSocket Echo example](http://autobahn.ws/python/tutorials/echo) provided with AutobahnPython. | ||
When you don't have a Wamp Cra server around, you can use the | ||
[WAMP CRA example](http://github.com/tavendo/AutobahnPython/tree/master/examples/wamp/authentication) provided with AutobahnPython. | ||
|
||
|
||
cd scm/AutobahnPython/examples/websocket/echo | ||
cd scm/AutobahnPython/examples/wamp/authentication/ | ||
python server.py | ||
|
||
|
||
Running | ||
------- | ||
|
||
1. Build and run the app. | ||
2. Enter the IP and port of your WebSocket echo server. | ||
2. Enter the IP and port of your WAMP-CRA server. | ||
3. Press "connect". | ||
4. Enter your message and press "send". | ||
|
||
For convenience, the app will remember the server IP/port as app settings. |