Skip to main content

FromHttpRequestNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Trigger

Configuration for node FromHttpRequest

public record FromHttpRequestNodeConfiguration : TriggerNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITriggerNodeConfiguration, IEquatable<TriggerNodeConfiguration>, IEquatable<FromHttpRequestNodeConfiguration>

Inheritance Object → NodeConfiguration → TriggerNodeConfiguration → FromHttpRequestNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITriggerNodeConfiguration, IEquatable<TriggerNodeConfiguration>, IEquatable<FromHttpRequestNodeConfiguration>

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​

HttpMethod

Path​

Defines the path to be used

public string Path { get; set; }

Property Value​

String

CallerBinding​

public CallerBindingMode CallerBinding { get; set; }

Property Value​

CallerBindingMode

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

FromHttpRequestNodeConfiguration()​

public FromHttpRequestNodeConfiguration()