LightClientLibrary 1.0.3
See the version list below for details.
dotnet add package LightClientLibrary --version 1.0.3
NuGet\Install-Package LightClientLibrary -Version 1.0.3
<PackageReference Include="LightClientLibrary" Version="1.0.3" />
paket add LightClientLibrary --version 1.0.3
#r "nuget: LightClientLibrary, 1.0.3"
// Install LightClientLibrary as a Cake Addin #addin nuget:?package=LightClientLibrary&version=1.0.3 // Install LightClientLibrary as a Cake Tool #tool nuget:?package=LightClientLibrary&version=1.0.3
LightClientUpload
This is a library for uploading files to RIAK servers. Can used by this parameters:
var lightClient = new LightClient.LightClient();
HttpResponseMessage response = await lightClient.Upload(string host, string token, string user_id, string bucket_id, string fullPath, string filePrefix, string guid = "");
Host - server Url. Example - https://lightupon.cloud
Token - authorization token from server. Example - "647c7fde-936c-447a-8640-55dc8c1c69cb"
User_id - identificator from server. Example - "03a3a647d7e65013f515b16b1d9225b6"
bucket_id - bucket from server. Example - "the-integrationtests-integration1-res"
fullPath - full path to the file
filePrefix - prefix from server, need if file located in the subdirectory, else ""
lastseenversion - vector clock version from server (optional parameter)
Method contains a vector version clock (DVVSet), so we can solve a various conflicts with a many versions of uploading files, for example.
Files with size more than 2000000 bytes split into parts and uploads.
Documentation for work with RIAK-server:
https://github.com/lightuponcloud/dubstack/blob/master/API.md
Source code: https://github.com/TrickyShit/LightClientUpload
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net471 is compatible. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Refactoring code