Poq.SDK.Node

Home > @poq/nestjs-proxy > ProxyModule > forRoot

ProxyModule.forRoot() method

Method represents the conventional way to register dynamic module in nestjs.

Signature:

static forRoot(options: ProxyModuleOptions): DynamicModule;

Parameters

Parameter Type Description
options ProxyModuleOptions Arguments to tune proxy params, routes, and events.

Returns:

DynamicModule

Dynamic module for nest framework.