diff options
| author | Adnan Maolood <[email protected]> | 2021-02-23 17:30:46 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-23 17:30:46 -0500 |
| commit | 311233a01291179aa8b614b59014e771d7351ef6 (patch) | |
| tree | c09cba7cde1bc7e6ed0291e077989500bdbf43a5 | |
| parent | request: Add Conn and TLS methods (diff) | |
| download | go-gemini-311233a01291179aa8b614b59014e771d7351ef6.tar.xz go-gemini-311233a01291179aa8b614b59014e771d7351ef6.zip | |
request: Fix documentation for TLS
| -rw-r--r-- | request.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ func (r *Request) Conn() net.Conn { } // TLS returns information about the TLS connection on which the -// response was received. +// request was received. func (r *Request) TLS() *tls.ConnectionState { if tlsConn, ok := r.conn.(*tls.Conn); ok { state := tlsConn.ConnectionState() |