Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add YAML, BSON, and MessagePack serialization formats #8

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
headers
  • Loading branch information
SnacksOnAPlane committed Feb 8, 2015
commit 9e2e2dba8884be1c4883f3809c39fa266436435d
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ Or install it yourself as:

## Usage

### HTTP
```ruby
require 'test/unit'
require 'tcr'
@@ -73,6 +74,7 @@ TCR.turned_off do
end
```

### SMTP
You can use TCR to record any TCP interaction. Here we record the handshake with an SMTP server. **Note that many residential ISPs block port 25 outbound, so this may not work for you.**

```ruby