hostAllowed

Whether a Host header value (e.g. "127.0.0.1:3000") is localhost or listed.

package @safe
bool
hostAllowed
(
string host
,
const string[] extra
)