docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TusHttpResponse

    Represents a response from a request made to a Tus enabled server. See https://github.com/jonstodle/TusDotNetClient

    Inheritance
    object
    TusHttpResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Ccd.Management
    Assembly: Unity.Services.Ccd.Management.dll
    Syntax
    public class TusHttpResponse

    Constructors

    TusHttpResponse(HttpStatusCode, IDictionary<string, string>, byte[])

    Create an instance of a TusHttpResponse.

    Declaration
    public TusHttpResponse(HttpStatusCode statusCode, IDictionary<string, string> headers = null, byte[] responseBytes = null)
    Parameters
    Type Name Description
    HttpStatusCode statusCode

    The HTTP status code of the response.

    IDictionary<string, string> headers

    The HTTP headers of the response.

    byte[] responseBytes

    The content of the response.

    Properties

    Headers

    Get the HTTP headers from the response.

    Declaration
    public IReadOnlyDictionary<string, string> Headers { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, string>

    ResponseBytes

    Get the content of the HTTP response as bytes.

    Declaration
    public byte[] ResponseBytes { get; }
    Property Value
    Type Description
    byte[]

    ResponseString

    Get the content of the HTTP response as a string.

    Declaration
    public string ResponseString { get; }
    Property Value
    Type Description
    string

    StatusCode

    Get the HTTP status code from the Tus server.

    Declaration
    public HttpStatusCode StatusCode { get; }
    Property Value
    Type Description
    HttpStatusCode
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)