Poq.SDK.Node

Home > @poq/nestjs-proxy > ProxyRoute

ProxyRoute type

Proxy Route defines settings for proxy handler.

Signature:

export declare type ProxyRoute = Server.ServerOptions & {
    path: string;
    verb?: HttpVerb | HttpVerb[];
    target?: Server.ServerOptions['target'];
};

References: HttpVerb

Remarks

target property is optional if target is defined on module level.