@vnodes/graphql
    Preparing search index...

    Class GqlArgumentsHost

    Hierarchy

    • ExecutionContextHost
      • GqlArgumentsHost

    Implements

    Index

    Constructors

    • Parameters

      • args: any[]
      • OptionalconstructorRef: Type<any> | null
      • Optionalhandler: Function | null

      Returns GqlArgumentsHost

    Methods

    • Returns a particular argument by index.

      Type Parameters

      • T = any

      Parameters

      • index: number

        index of argument to retrieve

      Returns T

    • Returns the array of arguments being passed to the handler.

      Type Parameters

      • T = any

      Returns T

    • Returns the type of the controller class which the current handler belongs to.

      Type Parameters

      • T = any

      Returns Type<T>

    • Type Parameters

      • T = any

      Returns T

    • Returns a reference to the handler (method) that will be invoked next in the request pipeline.

      Returns Function

    • Type Parameters

      • T = any

      Returns T

    • Type Parameters

      • T = any

      Returns T

    • Returns the current execution context type (string)

      Type Parameters

      • TContext extends string = ContextType

      Returns TContext

    • Type Parameters

      • TContext extends string = ContextType

      Parameters

      Returns void

    • Switch context to HTTP.

      Returns HttpArgumentsHost

      interface with methods to retrieve HTTP arguments

    • Switch context to RPC.

      Returns RpcArgumentsHost

      interface with methods to retrieve RPC arguments

    • Switch context to WebSockets.

      Returns WsArgumentsHost

      interface with methods to retrieve WebSockets arguments

    • Parameters

      • context: ArgumentsHost

      Returns GqlArgumentsHost