protected override string Request(JsonRPCRequestModel rpcRequest, CancellationToken token = default) { _startInfo.ArgumentList[2] = rpcRequest.ToString(); _startInfo.WorkingDirectory = context.CurrentPluginMetadata.PluginDirectory; // TODO: Async Action return(Execute(_startInfo)); }
protected override string Request(JsonRPCRequestModel rpcRequest, CancellationToken token = default) { // since this is not static, request strings will build up in ArgumentList if index is not specified _startInfo.ArgumentList[0] = rpcRequest.ToString(); return(Execute(_startInfo)); }
protected override Task <Stream> RequestAsync(JsonRPCRequestModel request, CancellationToken token = default) { _startInfo.ArgumentList[2] = request.ToString(); return(ExecuteAsync(_startInfo, token)); }