Sha256: f92387796444aba6e44317f097a28c24142f7b7d37dfe36c071914de63d06f97

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 KB

Contents

## Interop

First, a quick test to ensure that we can talk to ourselves:

```bash
# Direct connection
$> ruby server.rb
$> ruby client.rb http://localhost:8080/                 # GET
$> ruby client.rb http://localhost:8080/ -d 'some data'  # POST

# TLS + NPN negotiation
$> ruby server.rb --secure
$> ruby client.rb https://localhost:8080/                # GET
$> ...
```

### [nghttp2](https://github.com/tatsuhiro-t/nghttp2) (HTTP/2.0 C Library)

Public test server: http://106.186.112.116 (Upgrade + Direct)

```bash
# Direct request (http-2 > nghttp2)
$> ruby client.rb http://106.186.112.116/

# TLS + NPN request (http-2 > nghttp2)
$> ruby client.rb https://106.186.112.116/

# Direct request (nghttp2 > http-2)
$> ruby server.rb
$> nghttp -vnu http://localhost:8080       # Direct request to Ruby server
```

### Twitter (Java server)

```bash
# NPN + GET request (http-2 > twitter)
$> ruby client.rb https://twitter.com/
```

For a complete list of current implementations, see [http2 wiki](https://github.com/http2/http2-spec/wiki/Implementations).

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
http-2-0.8.2 example/README.md
http-2-0.8.1 example/README.md
mieps_http-2-0.8.2 example/README.md
mieps_http-2-0.8.1 example/README.md
mieps_http-2-0.8.0 example/README.md
http-2-0.8.0 example/README.md