Webhook.UpdateStages.WithCustomHeaders Interface
public static interface Webhook.UpdateStages.WithCustomHeaders
The stage of the webhook definition allowing to specify the custom headers that will be added to the notifications.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withCustomHeader(String name, String value)
Specifies a custom header that will be added to notifications. |
abstract Update |
withCustomHeaders(Map<String,String> customHeaders)
Specifies custom headers that will be added to the notifications. |
Method Details
withCustomHeader
public abstract Webhook.Update 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:
Returns:
withCustomHeaders
public abstract Webhook.Update withCustomHeaders(Map
Specifies custom headers that will be added to the notifications.
Parameters:
Returns:
Applies to
Azure SDK for Java