Skip to content

Commit

Permalink
Update main README
Browse files Browse the repository at this point in the history
  • Loading branch information
abedra committed Oct 27, 2021
1 parent 39958e0 commit 3733aad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ A small header only C++ library that provides the foundation of an algebraic dat

## Usage

The following examples attempt to demonstrate the two shapes offered by this library. For a complete working example using the Poco framework, take a look at the [example](https://github.com/abedra/simple_websocket/tree/master/example).

### Frame Parser

If you want to keep the parsing of frames pure, you can use the `SimpleWebSocket::FrameParser` template class. This template allows you to specify a unifying type for all frames, and expects you to provide the arrows from each of the message variant members to your chosen type. A contrived, yet simple example:
Expand Down

0 comments on commit 3733aad

Please sign in to comment.