Handles.post constructor
Constructor with the HTTP POST method.
The pattern
is the string representation of the pattern to match.
The optional pipeline
name identifies the pipeline the rule is for, and
priority
controls the order in which the rule is added to the pipeline.
Implementation
const Handles.post(this.pattern, {String? pipeline, int? priority})
: httpMethod = 'POST',
pipeline = pipeline ?? ServerPipeline.defaultName,
priority = priority ?? 0;