Function LRPCFunction

  • This decorator is used to mark a class as a function endpoint

    Parameters

    • controller: string

      The controller name

    • request: any

      The request class

    • response: any

      The response class

    • Optionalservice: boolean

      Is the endpoint a service only endpoint which means it won't be exposed to the client scripts

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

    The function endpoint decorator