Searched refs:originOrStream (Results 1 – 2 of 2) sorted by relevance
1637 altsvc(alt, originOrStream) { argument1644 if (typeof originOrStream === 'string') {1645 origin = (new URL(originOrStream)).origin;1648 } else if (typeof originOrStream === 'number') {1649 if (originOrStream >>> 0 !== originOrStream || originOrStream === 0) {1651 `> 0 && < ${2 ** 32}`, originOrStream);1653 stream = originOrStream;1654 } else if (originOrStream !== undefined) {1656 if (originOrStream !== null && typeof originOrStream === 'object')1657 origin = originOrStream.origin;[all …]
750 #### `serverhttp2session.altsvc(alt, originOrStream)`758 * `originOrStream` {number|string|URL|Object} Either a URL string specifying788 When a string is passed for the `originOrStream` argument, it will be parsed as795 `originOrStream`, in which case the value of the `origin` property will be