Search Results for

    Show / Hide Table of Contents

    Class RestResponse

    Represents a response sent by the remote HTTP party.

    Inheritance
    Object
    RestResponse
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: KSharpPlus.Net.Rest
    Assembly: KSharpPlus.dll
    Syntax
    public sealed class RestResponse

    Properties

    | Improve this Doc View Source

    Headers

    Gets the headers sent by the remote party.

    Declaration
    public IReadOnlyDictionary<string, string>? Headers { get; }
    Property Value
    Type Description
    Nullable<IReadOnlyDictionary<String, String>>
    | Improve this Doc View Source

    Response

    Gets the contents of the response sent by the remote party.

    Declaration
    public string Response { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    ResponseCode

    Gets the response code sent by the remote party.

    Declaration
    public int ResponseCode { get; }
    Property Value
    Type Description
    Int32
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2023 KSharpPlus Contributors