Skip to content

Taxum / @taxum/core / util / MapToHttpResponseLayer

Class: MapToHttpResponseLayer

Defined in: util/map-to-http-response.ts:8

A Layer that produces MapToHttpResponse services.

Implements

Constructors

Constructor

new MapToHttpResponseLayer(): MapToHttpResponseLayer

Returns

MapToHttpResponseLayer

Methods

layer()

layer(inner): HttpService

Defined in: util/map-to-http-response.ts:9

Wrap the given service with the middleware, returning a new service that has been decorated with the middleware.

Parameters

inner

HttpService<HttpResponseLike>

Returns

HttpService

Implementation of

Layer.layer