RpcOperation.allowResponseCaching Function

Convenience decorator for setting an RPC operation policy that allows response caching.

allowResponseCaching(control: RpcResponseCacheControl = RpcResponseCacheControl.Immutable): (target: T, propertyKey: string, descriptor: PropertyDescriptor) => void

Parameter Type Description
control RpcResponseCacheControl  

Returns - (target: T, propertyKey: string, descriptor: PropertyDescriptor) => void

Defined in

Last Updated: 12 June, 2024