Options
All
  • Public
  • Public/Protected
  • All
Menu

Module didComm/didCommUtils

Index

Variables

Functions

Variables

default: { objectPathLoop: (response: any, path: string[], context: any, prevContext: any, body: GenericBody) => any }

Type declaration

  • objectPathLoop: (response: any, path: string[], context: any, prevContext: any, body: GenericBody) => any
      • (response: any, path: string[], context: any, prevContext: any, body: GenericBody): any
      • Handles the subMethods of responses

        Parameters

        • response: any

          generic response from the agent

        • path: string[]

          the location of the subMethod within the response object ('.' notation)

        • context: any

          subMethod on which the body.subMethod.subMethodData is applied on

        • prevContext: any

          the object which contains the subMethod

        • body: GenericBody

          arguments of the property method + subMethod name and arguments

        Returns any

        • the result from the applied subMethod arguments on the subMethod

Functions

  • objectPathLoop(response: any, path: string[], context: any, prevContext: any, body: GenericBody): any
  • Handles the subMethods of responses

    Parameters

    • response: any

      generic response from the agent

    • path: string[]

      the location of the subMethod within the response object ('.' notation)

    • context: any

      subMethod on which the body.subMethod.subMethodData is applied on

    • prevContext: any

      the object which contains the subMethod

    • body: GenericBody

      arguments of the property method + subMethod name and arguments

    Returns any

    • the result from the applied subMethod arguments on the subMethod

Generated using TypeDoc