OutWit.Cloud.SDK
2.1.0
dotnet add package OutWit.Cloud.SDK --version 2.1.0
NuGet\Install-Package OutWit.Cloud.SDK -Version 2.1.0
<PackageReference Include="OutWit.Cloud.SDK" Version="2.1.0" />
<PackageVersion Include="OutWit.Cloud.SDK" Version="2.1.0" />
<PackageReference Include="OutWit.Cloud.SDK" />
paket add OutWit.Cloud.SDK --version 2.1.0
#r "nuget: OutWit.Cloud.SDK, 2.1.0"
#:package OutWit.Cloud.SDK@2.1.0
#addin nuget:?package=OutWit.Cloud.SDK&version=2.1.0
#tool nuget:?package=OutWit.Cloud.SDK&version=2.1.0
OutWit.Cloud.SDK
Client SDK for submitting jobs to a WitCloud / OmnibusCloud server and retrieving results — connect, authenticate, run or schedule WitEngine scripts with typed parameters, upload/download blobs, and query job status.
Part of the OmnibusCloud distributed-compute platform (WitEngine → WitCloud →
OmnibusCloud). The server and orchestrator are closed-source; this SDK is published
openly (MIT) so you can build initiator apps, render plugins, and integrations
against it. Built on OutWit.Cloud.Contracts
over WitRPC.
Install
dotnet add package OutWit.Cloud.SDK
Quick start
using OutWit.Cloud.SDK;
await using var client = new WitCloudClient(
serverUrl: "https://engine.omnibuscloud.com",
identityUrl: "https://id.omnibuscloud.com",
apiKey: "wit_sk_...");
await client.ConnectAsync();
// Submit a script with typed parameters and wait for the result.
var handle = await client.Scripts.RunAsync("MyScript", value1, value2);
var result = await handle.WaitAsync<MyResult>();
client.Scripts / .Jobs / .Blobs / .Admin group the SDK surface by concern.
Idempotent submit
Every submit carries a job id the SDK chose before the call, so a submit whose answer was lost
(a dropped connection, a gateway restart) is repeated with the same id and yields the same job -
never a second one. Nothing to do on your side. When the id must exist before the call (to
record the intent first, or to resubmit after a crash), take one from WitJobId.New() and pass
it to client.Scripts.SubmitAsync(submission, jobId); a repeat with that id returns the same job.
Servers before 1.9 assign their own id and the SDK does not repeat a submit against them.
License
MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- OutWit.Cloud.Auth (>= 1.1.0)
- OutWit.Cloud.Contracts (>= 1.3.0)
- OutWit.Common.MemoryPack (>= 1.1.6)
- OutWit.Communication.Client (>= 3.1.1)
- OutWit.Communication.Client.WebSocket (>= 3.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.