nghttp2を使ってHTTP/2でPiping Serverでデータ転送
#nghttp #HTTP/2 #Piping_Server
Piping ServerをリバースプロキシでHTTP/2に対応させるなどで、HTTP/2対応のPiping Serverが立てられる。現在はもHTTP/2対応している。追記: ppng.ml → ppng.io
GET:
$ nghttp http://localhost:8080/test
POST:
$ echo hello | nghttp -d - http://localhost:8080/test
brewやaptなどでインストールできる。
使ったのはmacで以下のバージョン
code:bash
$ nghttp --version
nghttp nghttp2/1.36.0