public HttpRequestInfo(Uri serverUri, Command commandToExecute, CommandInfo commandInfo) { FullUri = commandInfo.CreateCommandUri(serverUri, commandToExecute); HttpMethod = commandInfo.Method; RequestBody = commandToExecute.ParametersAsJsonString; }