aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/req.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-06-11 20:51:57 +0200
committerLoïc Hoguin <[email protected]>2018-06-11 20:51:57 +0200
commit69451dd98d99cf8d9f43ba44d4f30b34fdf3eb6c (patch)
tree9c5ae72d9ffd292f8d18325fbe463e834a3306b6 /doc/src/guide/req.asciidoc
parent57583364532eed5c3a603307a24ab7857cf27b22 (diff)
downloadcowboy-69451dd98d99cf8d9f43ba44d4f30b34fdf3eb6c.tar.gz
cowboy-69451dd98d99cf8d9f43ba44d4f30b34fdf3eb6c.tar.bz2
cowboy-69451dd98d99cf8d9f43ba44d4f30b34fdf3eb6c.zip
The TLS certificate can be accessed directly
Diffstat (limited to 'doc/src/guide/req.asciidoc')
-rw-r--r--doc/src/guide/req.asciidoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/guide/req.asciidoc b/doc/src/guide/req.asciidoc
index 53222cb..9d04ce0 100644
--- a/doc/src/guide/req.asciidoc
+++ b/doc/src/guide/req.asciidoc
@@ -19,7 +19,8 @@ and can be accessed directly. They are the fields that have
a direct mapping to HTTP: the request `method`; the HTTP
`version` used; the effective URI components `scheme`,
`host`, `port`, `path` and `qs`; the request `headers`;
-and the connection `peer` address and port.
+the connection `peer` address and port; and the TLS
+certificate `cert` when applicable.
Note that the `version` field can be used to determine
whether a connection is using HTTP/2.