pdk-core 1.7.0-alpha.0

PDK Core
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2025, Salesforce, Inc.,
// All rights reserved.
// For full license text, see the LICENSE.txt file

//! Constants to access well known properties from the host.

/// Coordinates to obtain the tracing id of an ongoing request.
pub const TRACING_ID_PATH: &[&str] = &["anypoint/mulesoft/tracing_id"];
/// Coordinates to obtain the source address of the request.
pub const SOURCE_ADDRESS: &[&str] = &["source", "address"];
/// Coordinates to obtain the destination address of the request.
pub const DESTINATION_ADDRESS: &[&str] = &["destination", "address"];
/// Coordinates to obtain the scheme of the ongoing request.
pub const REQUEST_SCHEME: &[&str] = &["request", "scheme"];
/// Coordinates to obtain the protocol of the ongoing request.
pub const REQUEST_PROTOCOL: &[&str] = &["request", "protocol"];
/// Coordinates to obtain the id of the ongoing request.
pub const REQUEST_ID: &[&str] = &["request", "id"];