MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / new

Method new

ra-rpc/src/client.rs:87–94  ·  view source on GitHub ↗
(remote_uri: String, tls_no_check: bool)

Source from the content-addressed store, hash-verified

85
86impl RaClient {
87 pub fn new(remote_uri: String, tls_no_check: bool) -> Result<Self> {
88 RaClientConfig::builder()
89 .tls_no_check(tls_no_check)
90 .remote_uri(remote_uri)
91 .build()
92 .into_client()
93 .context("failed to create client")
94 }
95
96 pub fn new_mtls(
97 remote_uri: String,

Callers

nothing calls this directly

Calls 2

into_clientMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected