Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IClientUnaryService<reqType, resType>

Type parameters

  • reqType

  • resType

Hierarchy

  • IClientUnaryService

Implemented by

Methods

sendMessage

  • sendMessage(reqData: reqType, handler?: function): Promise<resType>
  • Parameters

    • reqData: reqType
    • Optional handler: function
        • (call: ClientUnaryCall): void
        • Parameters

          • call: ClientUnaryCall

          Returns void

    Returns Promise<resType>

sendMessageWithCallback

  • sendMessageWithCallback(content: reqType, callback: any): ClientUnaryCall

Generated using TypeDoc