Skip to content
This repository was archived by the owner on Jul 6, 2018. It is now read-only.

Commit 9f3e375

Browse files
committed
http2: Docs warning against direct socket access (Squash)
1 parent 360c27a commit 9f3e375

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/http2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ process has completed.
227227
A reference to the [`net.Socket`][] or [`tls.TLSSocket`][] to which this
228228
`Http2Session` instance is bound.
229229

230+
Directly reading from and writing to the socket is strongly discouraged.
231+
230232
#### http2session.state
231233

232234
* Value: {Object}

0 commit comments

Comments
 (0)