fixup! refactor(intel-dcap-api): split client.rs into smaller files

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2025-04-11 12:34:09 +02:00
parent 4501b3421c
commit 1a392e800a
Signed by: harald
GPG key ID: F519A1143B3FBE32
8 changed files with 24 additions and 23 deletions

View file

@ -1,6 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2025 Matter Labs
//! Internal helper methods
use super::ApiClient; // Import from parent module
use crate::{
error::{check_status, extract_api_error_details, IntelApiError},
@ -12,10 +14,6 @@ use reqwest::{RequestBuilder, Response, StatusCode};
use std::io;
impl ApiClient {
// ------------------------
// Internal helper methods
// ------------------------
/// Helper to construct API paths dynamically based on version and technology (SGX/TDX).
pub(super) fn build_api_path(
&self,