public function fromHeader($header = null, $default = null)
    {
        if ($header === null) {
            return $this->event->getRequest()->getHeaders($header, $default)->toArray();
        }
    
        return $this->event->getRequest()->getHeaders($header, $default);
    }