docs.unity3d.com
    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
    Namespace: Unity.Services.Ccd.Management
    Syntax
    public class TusHttpResponse : object

    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 .

    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
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023