VOOZH about

URL: https://www.nuget.org/packages/Iskra.Clients.Requests/

⇱ NuGet Gallery | Iskra.Clients.Requests 1.0.30




Iskra.Clients.Requests 1.0.30

dotnet add package Iskra.Clients.Requests --version 1.0.30
 
 
NuGet\Install-Package Iskra.Clients.Requests -Version 1.0.30
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Iskra.Clients.Requests" Version="1.0.30" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Iskra.Clients.Requests" Version="1.0.30" />
 
Directory.Packages.props
<PackageReference Include="Iskra.Clients.Requests" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Iskra.Clients.Requests --version 1.0.30
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Iskra.Clients.Requests, 1.0.30"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Iskra.Clients.Requests@1.0.30
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Iskra.Clients.Requests&version=1.0.30
 
Install as a Cake Addin
#tool nuget:?package=Iskra.Clients.Requests&version=1.0.30
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Iskra.Clients.Requests

Описание

Этот пакет предоставляет клиент для получения информации по МЧД (МЧД - Машинно читаемая доверенность).

Установка

Установите пакет через NuGet:

dotnet add package Iskra.Clients.Requests

Использование

1. Конфигурация

Добавьте пакет в ваш проект и настройте его в Startup.cs или Program.cs вашего приложения.

В Startup.cs:
public void ConfigureServices(IServiceCollection services)
{
 services.AddRequestsClient();
}

В appsettings.json в EndpointsOptions должна быть указана переменная RequestsApi с хостом API.

Интерфейсы

IM4dClient

Клиент для получения информации по МЧД.

Методы
  • GetAsync(Guid id, CancellationToken token)

    • Получает заявку на МЧД по идентификатору.
    • Параметры:
      • id: Идентификатор заявки на МЧД.
      • token: Токен отмены операции.
    • Возвращает:
      • Task<RequestM4dView>: Заявка на МЧД.
  • GetByInvitationTokenAsync(Guid key, CancellationToken token)

    • Получает заявку на МЧД по пригласительному ключу.
    • Параметры:
      • id: Пригласительный ключ.
      • token: Токен отмены операции.
    • Возвращает:
      • Task<RequestM4dView>: Заявка на МЧД.
  • UpdateStatusAsync(Guid requestId, RequestStatus status, string? statusMessage, CancellationToken token)

    • Обновляет статус заявки на МЧД.
    • Параметры:
      • requestId: Идентификатор заявки МЧД.
      • status: Устанавливаемый статус заявки.
      • statusMessage: Идентификатор заявки МЧД.
      • token: Токен отмены операции.
    • Возвращает:
      • Task<Guid>: Идентификатор обновлённой заявки на МЧД.
Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.30 261 5/22/2025
1.0.29 221 5/22/2025
1.0.28 230 5/20/2025
1.0.27 225 5/20/2025
1.0.26 226 5/19/2025
1.0.25 321 5/14/2025
1.0.24 320 5/13/2025
1.0.23 320 5/12/2025
1.0.22 222 5/7/2025
1.0.21 220 5/7/2025
1.0.20 221 5/7/2025
1.0.19 209 4/29/2025
1.0.18 235 4/29/2025
1.0.17 232 4/28/2025
1.0.16 250 4/22/2025
1.0.15 224 4/22/2025