public static interface Webhook.UpdateStages.WithCustomHeaders
Modifier and Type | Method and Description |
---|---|
Webhook.Update |
withCustomHeader(String name,
String value)
Specifies a custom header that will be added to notifications.
|
Webhook.Update |
withCustomHeaders(Map<String,String> customHeaders)
Specifies custom headers that will be added to the notifications.
|
Webhook.Update withCustomHeader(String name, String value)
Consecutive calls to this method will add additional headers.
name
- of the optional headervalue
- of the optional headerWebhook.Update withCustomHeaders(Map<String,String> customHeaders)
customHeaders
- the "Name=Value" custom headers.Copyright © 2019. All rights reserved.