aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-05-08 15:26:13 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-05-08 15:26:13 +0900
commit6e20e16cf0210782739f53f7dcb15d1f9ede5162 (patch)
tree72d84598575d929d382d1297e4b4e7bf7d064d64
parent904fe92bb9f25b6e4582aaef0d00f1841e4bee24 (diff)
downloadplum-6e20e16cf0210782739f53f7dcb15d1f9ede5162.tar.gz
readme: fix the flow chart showing how it connects to the server
-rw-r--r--README.md12
1 files changed, 4 insertions, 8 deletions
diff --git a/README.md b/README.md
index b440d6f..de36a33 100644
--- a/README.md
+++ b/README.md
@@ -51,15 +51,11 @@ If the server does't support HTTP/2, `Plum::Client` tries to use HTTP/1.x instea
```
+-----------------+
- |:http2 option | false
- |(default: true) |-------> HTTP/1.x
+ |:https option | false
+ |(default: true) |-------> Try Upgrade from HTTP/1.1
+-----------------+
- v true
- +-----------------+
- |:scheme option | "http"
- |(default:"https")|-------> Try Upgrade from HTTP/1.1
- +-----------------+
- v "https"
+ | true
+ v
+-----------------+
| ALPN | failed
| negotiation |-------> HTTP/1.x