Function setExtension

  • Set an extension value on a message. If the message already has a value for this extension, the value is replaced.

    If the extension does not extend the given message, an error is raised.

    Type Parameters

    Parameters

    Returns void