FromHttpRequestNodeConfiguration2
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Trigger
Configuration for node FromHttpRequest
public record FromHttpRequestNodeConfiguration2 : TriggerNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITriggerNodeConfiguration, IEquatable<TriggerNodeConfiguration>, IEquatable<FromHttpRequestNodeConfiguration2>
Inheritance Object → NodeConfiguration → TriggerNodeConfiguration → FromHttpRequestNodeConfiguration2
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITriggerNodeConfiguration, IEquatable<TriggerNodeConfiguration>, IEquatable<FromHttpRequestNodeConfiguration2>
Remarks:
The response of the route is the final data root of the pipeline minus the request envelope
: the keys path, method, principal, headers, body,
bodyEncoding, query, files, formData, contentType and
contentLength are removed from the top level, and a whole copy of the request headers or of
the principal anywhere in the response is removed as well. A single field mapped on purpose, such as
$.principal.email into $.createdBy, stays. Responses of other shapes and an empty
response are returned unchanged. The behaviour cannot be switched off; use the pipeline debugger to
inspect the data of a run. Shaping the result with Project@1 and clear: true stays
advisable, because intermediate results are part of the data root too.
Properties
Method
Defines the HTTP action to be performed
public HttpMethod Method { get; set; }
Property Value
Path
Defines the path to be used
public string Path { get; set; }
Property Value
AllowAnonymous
Defines whether requests are accepted without a valid access token
public bool AllowAnonymous { get; set; }
Property Value
RequiredRoles
Defines the roles that grant access, any one of them is sufficient. An empty list accepts any caller with a valid access token
public String[] RequiredRoles { get; set; }
Property Value
CallerBinding
public CallerBindingMode CallerBinding { get; set; }
Property Value
CallerBindingMode
Description
public string Description { get; set; }
Property Value
Constructors
FromHttpRequestNodeConfiguration2()
public FromHttpRequestNodeConfiguration2()