Skip to content

Commit

Permalink
Implements opened attribute in Socket. Implements #1018.
Browse files Browse the repository at this point in the history
  • Loading branch information
dom96 committed Nov 2, 2023
1 parent ec83c3a commit f877a2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/workerd/api/sockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class Socket: public jsg::Object {
JSG_READONLY_PROTOTYPE_PROPERTY(readable, getReadable);
JSG_READONLY_PROTOTYPE_PROPERTY(writable, getWritable);
JSG_READONLY_PROTOTYPE_PROPERTY(closed, getClosed);
JSG_READONLY_PROTOTYPE_PROPERTY(opened, getOpened);
JSG_METHOD(close);
JSG_METHOD(startTls);
}
Expand Down

0 comments on commit f877a2e

Please sign in to comment.