Skip to main content
Http2Session.encrypted - Node documentation
property Http2Session.encrypted

Usage in Deno

import { type Http2Session } from "node:http2";

Value is undefined if the Http2Session session socket has not yet been connected, true if the Http2Session is connected with a TLSSocket, and false if the Http2Session is connected to any other kind of socket or stream.

Type

boolean | undefined