Appearance
@sylis/api / interceptor/transform/transform.interceptor / TransformInterceptor
Class: TransformInterceptor
Defined in: apps/api/src/interceptor/transform/transform.interceptor.ts:17
Implements
NestInterceptor
Constructors
Constructor
new TransformInterceptor(
logger
):TransformInterceptor
Defined in: apps/api/src/interceptor/transform/transform.interceptor.ts:18
Parameters
logger
Returns
TransformInterceptor
Methods
intercept()
intercept(
context
,next
):Observable
<any
>
Defined in: apps/api/src/interceptor/transform/transform.interceptor.ts:20
Method to implement a custom interceptor.
Parameters
context
ExecutionContext
an ExecutionContext
object providing methods to access the route handler and class about to be invoked.
next
CallHandler
a reference to the CallHandler
, which provides access to an Observable
representing the response stream from the route handler.
Returns
Observable
<any
>
Implementation of
NestInterceptor.intercept