Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface IResponse

    Namespace: MediaBrowser.Model.Services
    Assembly: MediaBrowser.Model.dll
    Syntax
    public interface IResponse

    Properties

    ContentType

    Declaration
    string ContentType { get; set; }
    Property Value
    Type Description
    System.String

    Headers

    Declaration
    QueryParamCollection Headers { get; }
    Property Value
    Type Description
    QueryParamCollection

    IsClosed

    Gets a value indicating whether this instance is closed.

    Declaration
    bool IsClosed { get; }
    Property Value
    Type Description
    System.Boolean

    Items

    Declaration
    Dictionary<string, object> Items { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Object>

    OutputWriter

    Declaration
    PipeWriter OutputWriter { get; }
    Property Value
    Type Description
    System.IO.Pipelines.PipeWriter

    Request

    Declaration
    IRequest Request { get; }
    Property Value
    Type Description
    IRequest

    SendChunked

    Declaration
    bool SendChunked { get; set; }
    Property Value
    Type Description
    System.Boolean

    SentHeaders

    Declaration
    bool SentHeaders { get; }
    Property Value
    Type Description
    System.Boolean

    StatusCode

    Declaration
    int StatusCode { get; set; }
    Property Value
    Type Description
    System.Int32

    StatusDescription

    Declaration
    string StatusDescription { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    AddHeader(String, String)

    Declaration
    void AddHeader(string name, string value)
    Parameters
    Type Name Description
    System.String name
    System.String value

    CompleteAsync()

    Signal that this response has been handled and no more processing should be done. When used in a request or response filter, no more filters or processing is done on this request.

    Declaration
    Task CompleteAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    GetHeader(String)

    Declaration
    string GetHeader(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.String

    Redirect(String)

    Declaration
    void Redirect(string url)
    Parameters
    Type Name Description
    System.String url

    SetContentLength(Int64)

    Declaration
    void SetContentLength(long contentLength)
    Parameters
    Type Name Description
    System.Int64 contentLength

    TransmitFile(String, Int64, Int64, FileShareMode, CancellationToken)

    Declaration
    Task TransmitFile(string path, long offset, long count, FileShareMode fileShareMode, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.String path
    System.Int64 offset
    System.Int64 count
    FileShareMode fileShareMode
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.