diff options
author | 2023-02-24 01:13:37 +0300 | |
---|---|---|
committer | 2023-02-23 14:13:37 -0800 | |
commit | e6e4e6b577337e8656d8b7996056912b9493e6f9 (patch) | |
tree | 45ae0378e2ab260702bd9eb1ca1becefe36fd411 | |
parent | dc634d3b302efc7e786b819dfd521c1f9dab1190 (diff) | |
download | bun-e6e4e6b577337e8656d8b7996056912b9493e6f9.tar.gz bun-e6e4e6b577337e8656d8b7996056912b9493e6f9.tar.zst bun-e6e4e6b577337e8656d8b7996056912b9493e6f9.zip |
Update README.md (#2145)
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2843,7 +2843,7 @@ Instead of having to allocate unique functions for each instance of a socket, we How do you pass per-socket data to each socket object? -`**data**` is a property on the `TCPSocket` & `TLSSocket` object that you can use to store per-socket data. +`data` is a property on the `TCPSocket` & `TLSSocket` object that you can use to store per-socket data. ```ts socket.data = { name: "Clienty McClientface" }; |