From 7cb5c77c7b342b8683fa59ee91e150c5a27e5029 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Mon, 14 Apr 2025 14:27:12 -0400 Subject: [PATCH] Add secureTransport readonly attribute --- index.bs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/index.bs b/index.bs index c77dcea..1946c31 100644 --- a/index.bs +++ b/index.bs @@ -112,6 +112,7 @@ interface Socket { Promise<undefined> close(optional any reason); readonly attribute boolean upgraded; + readonly attribute String secureTransport; [NewObject] Socket startTls(); }; @@ -211,6 +212,16 @@ Cancelling the socket's ReadableStream and closing the socket's WritableStream d The {{upgraded}} attribute is a boolean flag that indicates whether the socket has been upgraded to a secure connection (using `startTLS()`). +

secureTransport

+ +The {{secureTransport}} attribute is a string value indicating the type of secure transport used by the socket. Possible values are: + + +

Methods

close(optional any reason)