UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

15 lines (13 loc) 589 B
import { RpcOutboundClient } from '../rpc-outbound-client'; import { RpcAzureResponseKey } from './rpc-azure-model'; export class RpcAzureResponseClient { static azureResponse(rpc, data, outbound) { if (outbound) { return RpcOutboundClient.callOutbound(rpc.rpcManager.rpcChannel, outbound, RpcAzureResponseKey.command, RpcAzureResponseKey.version, data); } else { return RpcOutboundClient.call(rpc, RpcAzureResponseKey.command, RpcAzureResponseKey.version, data); } } } //# sourceMappingURL=rpc-azure-response-client.js.map