Skip to content

Commit

Permalink
Update index.bs
Browse files Browse the repository at this point in the history
Fixup alpn and sni options/socketinfo
  • Loading branch information
jasnell authored Nov 5, 2023
1 parent f2ee035 commit d142f28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ The {{Socket}} class is an instance of the [=socket=] concept. It should not be
dictionary SocketInfo {
DOMString remoteAddress = null;
DOMString localAddress = null;
DOMString sni = null;
DOMString[] alpn = [];
};

[Exposed=*]
Expand Down Expand Up @@ -280,6 +282,8 @@ enum SecureTransportKind { "off", "on", "starttls" };
dictionary SocketOptions {
SecureTransportKind secureTransport = "off";
boolean allowHalfOpen = false;
DOMString sni = null;
DOMString[] alpn = [];
};

[Exposed=*]
Expand Down

0 comments on commit d142f28

Please sign in to comment.