Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SoapServer::addFunctionSoapServer::__construct>
^SoapServerLast updated: Mon, 26 Oct 2026

SoapServer::addSoapHeader

(PHP 5 >= 5.1.3, PHP 7, PHP 8)

SoapServer::addSoapHeader — Add a SOAP header to the response

Description

public function SoapServer::addSoapHeader(SoapHeader $header): void

Adds a SOAP header to be returned with the response to the current request.

Parameters

header

The header to be returned.

Return Values

No value is returned.


<SoapServer::addFunctionSoapServer::__construct>
^SoapServerLast updated: Mon, 26 Oct 2026