diff options
author | 2023-07-06 17:55:27 -0300 | |
---|---|---|
committer | 2023-07-06 13:55:27 -0700 | |
commit | 954b6fcaf39c2346762ff40e9cf25705fcbd7ffb (patch) | |
tree | 5a8665eb68b02a13e43a05375be8270217353aea /src/bun.js/api/sockets.classes.ts | |
parent | abe095dd1e0962e3510596ccb8c66e0695947c3a (diff) | |
download | bun-954b6fcaf39c2346762ff40e9cf25705fcbd7ffb.tar.gz bun-954b6fcaf39c2346762ff40e9cf25705fcbd7ffb.tar.zst bun-954b6fcaf39c2346762ff40e9cf25705fcbd7ffb.zip |
refactor (#3543)
Diffstat (limited to 'src/bun.js/api/sockets.classes.ts')
-rw-r--r-- | src/bun.js/api/sockets.classes.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/bun.js/api/sockets.classes.ts b/src/bun.js/api/sockets.classes.ts index 0c7847e19..5bd073b9f 100644 --- a/src/bun.js/api/sockets.classes.ts +++ b/src/bun.js/api/sockets.classes.ts @@ -22,14 +22,10 @@ function generate(ssl) { fn: "write", length: 3, }, - wrapTLS: { - fn: "wrapTLS", + upgradeTLS: { + fn: "upgradeTLS", length: 1, }, - open: { - fn: "open", - length: 0, - }, end: { fn: "end", length: 3, |