MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / close

Method close

modules/crypt/ssl/session_original.js:221–224  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

219 return data.length;
220 }
221 close(s) {
222 this.startTrace("packetize");
223 s.write(SSLAlert.packetize(this, 0, SSLAlert.close_notify));
224 }
225 doProtocol(s, protocol, param1, param2) {
226 this.startTrace("packetize");
227 let packet = protocol.packetize(this, param1, param2);

Callers

nothing calls this directly

Calls 2

startTraceMethod · 0.95
writeMethod · 0.65

Tested by

no test coverage detected