Class TusServerInfo
Represents information about a Tus enabled server. See https://github.com/jonstodle/TusDotNetClient.
Inherited Members
Namespace: Unity.Services.Ccd.Management
Assembly: Unity.Services.Ccd.Management.dll
Syntax
public class TusServerInfo
Constructors
TusServerInfo(string, string, string, long?, 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. |
| long? | 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 |
|---|---|
| long |
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 |
|---|---|
| bool |
Version
Get the version of the Tus protocol used by the Tus server.
Declaration
public string Version { get; }
Property Value
| Type | Description |
|---|---|
| string |