aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/api/sockets.classes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/api/sockets.classes.ts')
-rw-r--r--src/bun.js/api/sockets.classes.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/bun.js/api/sockets.classes.ts b/src/bun.js/api/sockets.classes.ts
index da07741a3..0c7847e19 100644
--- a/src/bun.js/api/sockets.classes.ts
+++ b/src/bun.js/api/sockets.classes.ts
@@ -15,10 +15,21 @@ function generate(ssl) {
authorized: {
getter: "getAuthorized",
},
+ alpnProtocol: {
+ getter: "getALPNProtocol",
+ },
write: {
fn: "write",
length: 3,
},
+ wrapTLS: {
+ fn: "wrapTLS",
+ length: 1,
+ },
+ open: {
+ fn: "open",
+ length: 0,
+ },
end: {
fn: "end",
length: 3,
@@ -82,6 +93,11 @@ function generate(ssl) {
fn: "reload",
length: 1,
},
+
+ setServername: {
+ fn: "setServername",
+ length: 1,
+ },
},
finalize: true,
construct: true,