Home
last modified time | relevance | path

Searched refs:originOrStream (Results 1 – 2 of 2) sorted by relevance

/third_party/node/lib/internal/http2/
Dcore.js1637 altsvc(alt, originOrStream) { argument
1644 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 …]
/third_party/node/doc/api/
Dhttp2.md750 #### `serverhttp2session.altsvc(alt, originOrStream)`
758 * `originOrStream` {number|string|URL|Object} Either a URL string specifying
788 When a string is passed for the `originOrStream` argument, it will be parsed as
795 `originOrStream`, in which case the value of the `origin` property will be