mirror of
https://github.com/adnanh/webhook.git
synced 2025-06-17 18:12:28 +00:00
Merge remote-tracking branch 'fork/feature/stream-output-as-response' into feature/stream-output-as-response
This commit is contained in:
commit
5420abff39
3 changed files with 44 additions and 9 deletions
|
@ -570,6 +570,7 @@ type Hook struct {
|
|||
ResponseMessage string `json:"response-message,omitempty"`
|
||||
ResponseHeaders ResponseHeaders `json:"response-headers,omitempty"`
|
||||
CaptureCommandOutput bool `json:"include-command-output-in-response,omitempty"`
|
||||
StreamCommandOutput bool `json:"stream-command-output,omitempty"`
|
||||
CaptureCommandOutputOnError bool `json:"include-command-output-in-response-on-error,omitempty"`
|
||||
PassEnvironmentToCommand []Argument `json:"pass-environment-to-command,omitempty"`
|
||||
PassArgumentsToCommand []Argument `json:"pass-arguments-to-command,omitempty"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue