Searched refs:hostParts (Results 1 – 2 of 2) sorted by relevance
32 hostParts = this.matchHost(request.hostname || request.host || headers.Host || headers.host)37 this.service = request.service || hostParts[0] || ''38 this.region = request.region || hostParts[1] || 'us-east-1'61 var hostParts = (match || []).slice(1, 3)66 if (hostParts[1] === 'es')67 hostParts = hostParts.reverse()69 return hostParts
164 function check(hostParts, pattern, wildcards) { argument171 if (hostParts.length !== patternParts.length)187 for (let i = hostParts.length - 1; i > 0; i -= 1) {188 if (hostParts[i] !== patternParts[i])192 const hostSubdomain = hostParts[0];320 const hostParts = splitHost(hostname);321 const wildcard = (pattern) => check(hostParts, pattern, true);325 const noWildcard = (pattern) => check(hostParts, pattern, false);