Sippet.Message.update_header
You're seeing just the function
update_header
, go back to Sippet.Message module for more information.
Specs
Updates the header
in message
with the given function.
If header
is present in message
with value value
, fun
is invoked
with argument value
and its result is used as the new value of header
.
If header
is not present in message
, initial
is inserted as the value
of header
.