Icicle\Http\Driver\Reader\Http1Reader::filterHost PHP Method

filterHost() protected method

protected filterHost ( string $host ) : string
$host string
return string
    protected function filterHost(string $host) : string
    {
        if (strrpos($host, ':', -1)) {
            return $host;
        }
        return '//' . $host;
    }