Skip to content

Commit d142f28

Browse files
authored
Update index.bs
Fixup alpn and sni options/socketinfo
1 parent f2ee035 commit d142f28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ The {{Socket}} class is an instance of the [=socket=] concept. It should not be
9393
dictionary SocketInfo {
9494
DOMString remoteAddress = null;
9595
DOMString localAddress = null;
96+
DOMString sni = null;
97+
DOMString[] alpn = [];
9698
};
9799

98100
[Exposed=*]
@@ -280,6 +282,8 @@ enum SecureTransportKind { "off", "on", "starttls" };
280282
dictionary SocketOptions {
281283
SecureTransportKind secureTransport = "off";
282284
boolean allowHalfOpen = false;
285+
DOMString sni = null;
286+
DOMString[] alpn = [];
283287
};
284288

285289
[Exposed=*]

0 commit comments

Comments
 (0)