Search Results for

    Show / Hide Table of Contents

    Class Config

    全局设置

    Inheritance
    System.Object
    Config
    Namespace: cqhttp.Cyan
    Assembly: cqhttp.Cyan.dll
    Syntax
    public class Config : object

    Fields

    | Improve this Doc View Source

    is_send_json

    消息默认发送格式

    Declaration
    public static bool is_send_json
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    network_max_failure

    网络错误时最多重试的次数

    Declaration
    public const int network_max_failure = null
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    timeout

    网络请求超时秒数

    Declaration
    public static int timeout
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    internal_logger_output

    默认日志输出位置

    Declaration
    public static LogType internal_logger_output { get; set; }
    Property Value
    Type Description
    LogType
    | Improve this Doc View Source

    internal_logger_verbosity

    默认日志等级

    Declaration
    public static Verbosity internal_logger_verbosity { get; set; }
    Property Value
    Type Description
    Verbosity
    • Improve this Doc
    • View Source
    ☀
    ☾