Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions reference/network/functions/header-register-callback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
headers to be sent, and before any other output is sent, creating a window
to manipulate the outgoing headers before being sent.
</para>
<warning>
<simpara>
Callbacks are not stacked. Subsequent calls to <function>header_register_callback</function>
will silently de-register any existing <parameter>callback</parameter>, regardless of where
it was set. Be aware that dependencies may overwrite the callback.
Troubleshooting this scenario can be difficult.
</simpara>
</warning>
</refsect1>

<refsect1 role="parameters">
Expand Down