Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • REQ

  • RESP

Hierarchy

  • MethodDescriptor

Index

Constructors

  • new MethodDescriptor<REQ, RESP>(name: string, methodType: string, requestType: new (...args: unknown[]) => REQ, responseType: new (...args: unknown[]) => RESP, requestSerializeFn: any, responseDeserializeFn: any): MethodDescriptor<REQ, RESP>
  • Type parameters

    • REQ

    • RESP

    Parameters

    • name: string
    • methodType: string
    • requestType: new (...args: unknown[]) => REQ
        • new (...args: unknown[]): REQ
        • Parameters

          • Rest ...args: unknown[]

          Returns REQ

    • responseType: new (...args: unknown[]) => RESP
        • new (...args: unknown[]): RESP
        • Parameters

          • Rest ...args: unknown[]

          Returns RESP

    • requestSerializeFn: any
    • responseDeserializeFn: any

    Returns MethodDescriptor<REQ, RESP>

Methods

  • Parameters

    Returns Request<REQ, RESP>

  • Parameters

    • responseMessage: RESP
    • Optional metadata: Metadata
    • Optional status: Status

    Returns UnaryResponse<REQ, RESP>

  • getMethodType(): string
  • Returns string

  • getName(): string
  • Returns string

  • getRequestMessageCtor(): new (...args: unknown[]) => REQ
  • Returns new (...args: unknown[]) => REQ

      • new (...args: unknown[]): REQ
      • Parameters

        • Rest ...args: unknown[]

        Returns REQ

  • getRequestSerializeFn(): any
  • Returns any

  • getResponseDeserializeFn(): any
  • Returns any

  • getResponseMessageCtor(): new (...args: unknown[]) => RESP
  • Returns new (...args: unknown[]) => RESP

      • new (...args: unknown[]): RESP
      • Parameters

        • Rest ...args: unknown[]

        Returns RESP

Generated using TypeDoc