Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Parser<Raw, Parsed>

Parser applied to the body of a response.

Type parameters

  • Raw

  • Parsed

Hierarchy

  • Parser

Implemented by

Index

Properties

Methods

Properties

accepts

accepts: Mime

accepts is the mime type the Parser can process.

Methods

apply

  • apply(raw: Raw): Except<Parsed>
  • apply the Parser to a raw response body.

    Parameters

    • raw: Raw

    Returns Except<Parsed>

Generated using TypeDoc