Handles.head constructor

const Handles.head(
  1. String? pattern, {
  2. String? pipeline,
  3. int? priority,
})

Constructor with the HTTP HEAD method.

Implementation

const Handles.head(this.pattern, {String? pipeline, int? priority})
    : httpMethod = 'HEAD',
      pipeline = pipeline ?? ServerPipeline.defaultName,
      priority = priority ?? 0;