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

Method doProtocol

modules/crypt/ssl/session_original.js:225–230  ·  view source on GitHub ↗
(s, protocol, param1, param2)

Source from the content-addressed store, hash-verified

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);
228 if (packet)
229 s.write(packet);
230 }
231 readPacket(s, available) {
232 let packetBuffer = this.packetBuffer;
233 if (packetBuffer.length < 5) {

Callers 1

handshakeMethod · 0.95

Calls 2

startTraceMethod · 0.95
writeMethod · 0.65

Tested by

no test coverage detected