Helper/Hook.php
public function setHeaders()
    {
        $this->response->getHeaders()->addHeaders([
            'User-Agent' => 'BoltPay/Magento-'.$this->configHelper->getStoreVersion() . '/' . $this->configHelper->getModuleVersion(),
            'X-Bolt-Plugin-Version' => $this->configHelper->getModuleVersion(),
        ]);
    }
public function setHeaders()
    {
        $this->response->getHeaders()->addHeaders([
            'User-Agent' => 'BoltPay/Magento-'.$this->configHelper->getStoreVersion() . '/' . $this->configHelper->getModuleVersion(),
            'X-Bolt-Plugin-Version' => $this->configHelper->getModuleVersion(),
        ]);
    }
public function setHeaders ( ) { $ this -> response -> getHeaders ( ) -> addHeaders ( [ 'User-Agent' => 'BoltPay/Magento-' . $ this -> configHelper -> getStoreVersion ( ) . '/' . $ this -> configHelper -> getModuleVersion ( ) , 'X-Bolt-Plugin-Version' => $ this -> configHelper -> getModuleVersion ( ) , ] ) ; }
Set additional response headers
Set additional response headers