MCPcopy Create free account
hub / github.com/angular/dev-infra / createFrame

Function createFrame

github-actions/browserstack/set-browserstack-env.js:18230–18232  ·  view source on GitHub ↗
(data, hint)

Source from the content-addressed store, hash-verified

18228 if (__privateGet(this, _maxPayloadSize) > 0 && !isControlFrame(__privateGet(this, _info).opcode) && __privateGet(this, _info).payloadLength + __privateGet(this, _fragmentsBytes) > __privateGet(this, _maxPayloadSize)) {
18229 failWebsocketConnectionWithCode(this.ws, 1009, "Payload size exceeds maximum allowed size");
18230 return false;
18231 }
18232 return true;
18233 };
18234 module.exports = {
18235 ByteParser

Callers 1

addMethod · 0.70

Calls 2

toBufferFunction · 0.70
createFrameMethod · 0.45

Tested by

no test coverage detected