renaming and re-titling the app client tutorial to utility client

This commit is contained in:
Peter Thorson
2014-03-02 19:10:24 -06:00
parent e1547bbde8
commit 30da3a967b
8 changed files with 7 additions and 48 deletions

View File

@@ -1,33 +0,0 @@
Client
separate thread
multiple connections at once
An application with its own event loop. This demonstrates an example of how to integrate WebSocket++ into an application with a pre-existing event loop. This includes applications that use GUI frameworks like wxWidgets, Qt, etc.
- Uses a dedicated thread (or thread pool) to process WebSocket traffic. This allows better responsiveness for WebSocket activities, multiple similtaneous connections, easily reconnecting
This example application impliments a command line menu to manage an arbitrary number of outgoing websocket connections.
Core Options:
- Create a new connection to a WebSocket server with the given URI.
- View list of outstanding connections with some metadata
- Send a message along a specific connection
- Send a message to all connections
- List all messages received by a given connection
- Close a specific connection
- Close all connections
Bonus Features
- Set the user agent
- Set the origin
- Set other arbitrary headers
- Set proxy information
- Send a ping
utility features
- Pipe one connection to another

View File

@@ -1,14 +0,0 @@
Utility Client Example Application
==================================
Chapter 2: Initial Setup & Basics
---------------------------------
Using intermediate level features
- Subprotocol negotiation
- Setting and reading custom headers
- Ping and Pong
### Step 1

View File

@@ -14,6 +14,9 @@ A basic program loop that prompts the user for a command and then processes it.
`clang++ step1.cpp`
#### Code so far
*note* A code snapshot for each step is present next to this tutorial file in the git repository.
```cpp
#include <iostream>
#include <string>
@@ -673,6 +676,9 @@ _Sending and receiving messages_
_Using TLS / Secure WebSockets_
Chapter 2: Intermediate Features
--------------------------------
### Step 8
_Intermediate level features_
@@ -685,7 +691,7 @@ _Intermediate level features_
- Setting Origin
- Timers and security
- Close behavior
- Send one message to all connections
### Misc stuff not sure if it should be included here or elsewhere?