Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MetadataParser

A parser that takes a specific part of an HttpRequest and converts it to medata, such as the value of a header entry.

Hierarchy

  • MetadataParser

Index

Properties

Properties

parse

parse: (request: HttpRequest, metadata: RepresentationMetadata) => Promise<void>

Potentially adds metadata to the RepresentationMetadata based on the HttpRequest contents.

param

Request with potential metadata.

param

Metadata objects that should be updated.

Type declaration