Interface Webhook.UpdateDefinitionStages.WithCustomHeaders<ParentT>

    • Method Detail

      • withCustomHeader

        Webhook.UpdateDefinitionStages.WithAttach<ParentT> withCustomHeader​(String name,
                                                                            String value)
        Specifies a custom header that will be added to notifications.

        Consecutive calls to this method will add additional headers.

        Parameters:
        name - of the optional header
        value - of the optional header
        Returns:
        the next stage of the definition