Add event-driven quick action dispatch
This commit is contained in:
@@ -11,20 +11,20 @@ namespace F4SD.ActionConnector.Models
|
||||
{
|
||||
public override ActionType Type => ActionType.HttpCall;
|
||||
|
||||
public string Url { get; set; }
|
||||
public HttpMethod Method { get; set; } = HttpMethod.Post;
|
||||
public TimeSpan Timeout { get; set; } = TimeSpan.FromSeconds(30);
|
||||
public IDictionary<string, string> Headers { get; set; } = new Dictionary<string, string>();
|
||||
public string Body { get; set; }
|
||||
public string Url { get; internal set; }
|
||||
public HttpMethod Method { get; internal set; } = HttpMethod.Post;
|
||||
public TimeSpan Timeout { get; internal set; } = TimeSpan.FromSeconds(30);
|
||||
public IDictionary<string, string> Headers { get; internal set; } = new Dictionary<string, string>();
|
||||
public string Body { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// jsonPath expressions keyed by field name, used to extract values from the response.
|
||||
/// </summary>
|
||||
public IDictionary<string, string> MappedFieldJsonPaths { get; set; } = new Dictionary<string, string>();
|
||||
public IDictionary<string, string> MappedFieldJsonPaths { get; internal set; } = new Dictionary<string, string>();
|
||||
|
||||
internal HttpCallDefinition(XmlElement xNode, cXmlParser parser) : base(xNode, parser)
|
||||
{
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user