Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BodyParser

Callable

Index

Methods

json

  • Returns middleware that only parses json and only looks at requests where the Content-Type header matches the type option.

    Parameters

    Returns NextHandleFunction

raw

  • Returns middleware that parses all bodies as a Buffer and only looks at requests where the Content-Type header matches the type option.

    Parameters

    Returns NextHandleFunction

text

  • Returns middleware that parses all bodies as a string and only looks at requests where the Content-Type header matches the type option.

    Parameters

    Returns NextHandleFunction

urlencoded

  • Returns middleware that only parses urlencoded bodies and only looks at requests where the Content-Type header matches the type option

    Parameters

    Returns NextHandleFunction