MCPcopy Index your code
hub / github.com/json-editor/json-editor / isSecure

Function isSecure

docs/scripts/ajv-validator.js:8362–8364  ·  view source on GitHub ↗
(wsComponents)

Source from the content-addressed store, hash-verified

8360 };
8361
8362 function isSecure(wsComponents) {
8363 return typeof wsComponents.secure === 'boolean' ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === "wss";
8364 }
8365//RFC 6455
8366 var handler$2 = {
8367 scheme: "ws",

Callers 1

ajv-validator.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected