Function LRPCRedirect

  • This decorator is used to mark a field in a LrpcPayload as a redirect example usage: LRPCRedirect('https://google.com') @LRPCAuth() @LRPCFunction(controller, sampleRequest, sampleResponse) async handler(data: LRPCRequest): Promise<BaseResponse> {}

    Parameters

    • url: string

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