<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.soapserver.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'soapserver.addsoapheader.php',
    1 => 'SoapServer::addSoapHeader',
    2 => 'Add a SOAP header to the response',
  ),
  'up' => 
  array (
    0 => 'class.soapserver.php',
    1 => 'SoapServer',
  ),
  'prev' => 
  array (
    0 => 'soapserver.addfunction.php',
    1 => 'SoapServer::addFunction',
  ),
  'next' => 
  array (
    0 => 'soapserver.construct.php',
    1 => 'SoapServer::__construct',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/soap/soapserver/addsoapheader.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="soapserver.addsoapheader" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SoapServer::addSoapHeader</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.3, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">SoapServer::addSoapHeader</span> &mdash; <span class="dc-title">Add a SOAP header to the response</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-soapserver.addsoapheader-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>SoapServer::addSoapHeader</strong></span>(<span class="methodparam"><span class="type"><a href="class.soapheader.php" class="type SoapHeader">SoapHeader</a></span> <code class="parameter">$header</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Adds a SOAP header to be returned with the response to the current request.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-soapserver.addsoapheader-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">header</code></dt>
     <dd>
      <p class="para">
       The header to be returned.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-soapserver.addsoapheader-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   No value is returned.
  </p>
 </div>


</div><?php manual_footer($setup); ?>