Skip to main content

Class: BodyResolver

An interface for resolving parameter values based on the execution context.

Implements​

Constructors​

Constructor​

new BodyResolver(): BodyResolver

Returns​

BodyResolver

Methods​

resolve()​

resolve(httpContext): unknown

Resolves the value of a parameter based on the provided execution context and parameter definition.

Parameters​

httpContext​

HttpContext

The execution context containing relevant information for parameter resolution.

Returns​

unknown

The resolved value of the parameter.

Implementation of​

ParameterResolver.resolve