array (4)
0 => UTF-8 string (34) "단일 헤더만 필요한 경우 header() 메소드를 사용합니다."
[ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ][0]
1 => UTF-8 string (62) "지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다."
[ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ][1]
host => CodeIgniter\HTTP\Header (2)
[ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['host']
  • Properties (2)
  • Available methods (9)
  • protected name -> string (4) "Host"
    protected value -> string (19) "sample4.cikorea.net"
  • public __construct(string $name, $value = null) Header constructor. name is mandatory, if a value is provided, it will be set.
    new \CodeIgniter\HTTP\Header(string $name, $value = null)
    /**
    * Header constructor. name is mandatory, if a value is provided, it will be set.
    *
    * @param array|string|null $value
    */
    
    Defined in .../codeigniter4/framework/system/HTTP/Header.php:41
    public getName(): string Returns the name of the header, in the same case it was set.
    [ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['host']->getName()
    /**
    * Returns the name of the header, in the same case it was set.
    */
    
    Defined in .../codeigniter4/framework/system/HTTP/Header.php:50
    public getValue(): array|string Gets the raw value of the header. This may return either a string of an array, d...
    [ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['host']->getValue()
    /**
    * Gets the raw value of the header. This may return either a string
    * of an array, depending on whether the header has multiple values or not.
    *
    * @return array|string
    */
    
    Defined in .../codeigniter4/framework/system/HTTP/Header.php:61
    public setName(string $name): $this Sets the name of the header, overwriting any previous value.
    [ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['host']->setName(string $name)
    /**
    * Sets the name of the header, overwriting any previous value.
    *
    * @return $this
    */
    
    Defined in .../codeigniter4/framework/system/HTTP/Header.php:71
    public setValue($value = null): $this Sets the value of the header, overwriting any previous value(s).
    [ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['host']->setValue($value = null)
    /**
    * Sets the value of the header, overwriting any previous value(s).
    *
    * @param array|string|null $value
    *
    * @return $this
    */
    
    Defined in .../codeigniter4/framework/system/HTTP/Header.php:85
    public appendValue($value = null): $this Appends a value to the list of values for this header. If the header is a single...
    [ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['host']->appendValue($value = null)
    /**
    * Appends a value to the list of values for this header. If the
    * header is a single value string, it will be converted to an array.
    *
    * @param array|string|null $value
    *
    * @return $this
    */
    
    Defined in .../codeigniter4/framework/system/HTTP/Header.php:100
    public prependValue($value = null): $this Prepends a value to the list of values for this header. If the header is a singl...
    [ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['host']->prependValue($value = null)
    /**
    * Prepends a value to the list of values for this header. If the
    * header is a single value string, it will be converted to an array.
    *
    * @param array|string|null $value
    *
    * @return $this
    */
    
    Defined in .../codeigniter4/framework/system/HTTP/Header.php:125
    public getValueLine(): string Retrieves a comma-separated string of the values for a single header.
    [ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['host']->getValueLine()
    /**
    * Retrieves a comma-separated string of the values for a single header.
    *
    * NOTE: Not all header values may be appropriately represented using
    * comma concatenation. For such headers, use getHeader() instead
    * and supply your own delimiter when concatenating.
    *
    * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
    */
    
    Defined in .../codeigniter4/framework/system/HTTP/Header.php:149
    public __toString(): string Returns a representation of the entire header string, including the header name ...
    (string) [ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['host']
    /**
    * Returns a representation of the entire header string, including
    * the header name and all values converted to the proper format.
    */
    
    Defined in .../codeigniter4/framework/system/HTTP/Header.php:178
DNT => null
[ '단일 헤더만 필요한 경우 header() 메소드를 사용합니다.', '지정된 헤더 객체가 존재하는 경우 키의 대소문자를 구분하지 않고 가져오고, 그렇지 않으면 null을 반환합니다.', 'host' => $this->request->header('host'), 'DNT' => $this->request->header('DNT'), ]['DNT']