get_cookies example


    public function to_array() {
        return array(
            'headers'  => $this->get_headers(),
            'body'     => $this->get_data(),
            'response' => array(
                'code'    => $this->get_status(),
                'message' => get_status_header_desc( $this->get_status() ),
            ),
            'cookies'  => $this->get_cookies(),
            'filename' => $this->filename,
        );
    }
}
Home | Imprint | This part of the site doesn't use cookies.