method
bun.TCPSocket.setSession
): void;
Sets the TLS session to offer for resumption.
Only has an effect before the handshake starts: in open, before any write(), on a client socket that also has a handshake handler. A later call is ignored.
@param session
The session to set.