API methods' parameters types with optional session, polling settings, xHeaders etc. and corresponding handlers have been added Signed-off-by: Pavel Gross <p.gross@yadro.com>
16 lines
453 B
C#
16 lines
453 B
C#
using System.Collections.Specialized;
|
|
|
|
namespace FrostFS.SDK.ClientV2.Parameters;
|
|
|
|
public sealed class PrmCreateSession(ulong expiration, Context? context = default) : IContext
|
|
{
|
|
public ulong Expiration { get; set; } = expiration;
|
|
|
|
/// <summary>
|
|
/// FrostFS request X-Headers
|
|
/// </summary>
|
|
public NameValueCollection XHeaders { get; set; } = [];
|
|
|
|
/// <inheritdoc />
|
|
public Context? Context { get; set; } = context;
|
|
}
|