Class TusServerInfo
Represents information about a Tus enabled server. See https://github.com/jonstodle/TusDotNetClient.
Namespace: Unity.Services.Ccd.Management
Syntax
public class TusServerInfo : object
Constructors
TusServerInfo(String, String, String, Nullable<Int64>, String)
Create a new instance of TusServerInfo.
Declaration
public TusServerInfo(string version, string supportedVersions, string extensions, long? maxSize, string checksumAlgorithms)
Parameters
Type | Name | Description |
---|---|---|
String | version | The protocol version used by the Tus server. |
String | supportedVersions | The versions of the protocol supported by the Tus server separated by commas. |
String | extensions | The protocol extensions supported by the Tus server separated by commas. |
Nullable<Int64> | maxSize | The maximum total size of a single file supported by the Tus server. |
String | checksumAlgorithms | The checksum algorithms supported by the Tus server separated by the Tus server. |
Properties
Extensions
Get the protocol extensions supported by the Tus server.
Declaration
public string[] Extensions { get; }
Property Value
Type | Description |
---|---|
String[] |
MaxSize
Get the maximum total size of a single file supported by the Tus server.
Declaration
public long MaxSize { get; }
Property Value
Type | Description |
---|---|
Int64 |
SupportedChecksumAlgorithms
Get the checksum algorithms supported by the Tus server.
Declaration
public string[] SupportedChecksumAlgorithms { get; }
Property Value
Type | Description |
---|---|
String[] |
SupportedVersions
Get a list of versions of the protocol the Tus server supports.
Declaration
public string[] SupportedVersions { get; }
Property Value
Type | Description |
---|---|
String[] |
SupportsDelete
Get whether the termination
protocol extension is supported by the Tus server.
Declaration
public bool SupportsDelete { get; }
Property Value
Type | Description |
---|---|
Boolean |
Version
Get the version of the Tus protocol used by the Tus server.
Declaration
public string Version { get; }
Property Value
Type | Description |
---|---|
String |