Search Results for

    Show / Hide Table of Contents

    Class CQReverseWSClient

    反向websocket连接方式

    Inheritance
    System.Object
    CQApiClient
    CQReverseWSClient
    Inherited Members
    CQApiClient.instance_version_info
    CQApiClient.self_id
    CQApiClient.self_nick
    CQApiClient.is_pro
    CQApiClient.alive
    CQApiClient.initiated
    CQApiClient.group_table
    CQApiClient.message_table
    CQApiClient.caller
    CQApiClient.listener
    CQApiClient.initiate_task
    CQApiClient.Initiate()
    CQApiClient.OnEvent
    CQApiClient.OnEventAsync
    CQApiClient.HandleEvent(CQEvent)
    CQApiClient.SendRequestAsync(ApiRequest)
    CQApiClient.SendMessageAsync(MessageType, Int64, Message)
    CQApiClient.SendMessageAsync(ValueTuple<MessageType, Int64>, Message)
    CQApiClient.SendTextAsync(MessageType, Int64, String)
    CQApiClient.SendTextAsync(ValueTuple<MessageType, Int64>, String)
    Namespace: cqhttp.Cyan.Clients
    Assembly: cqhttp.Cyan.dll
    Syntax
    public class CQReverseWSClient : CQApiClient

    Constructors

    | Improve this Doc View Source

    CQReverseWSClient(Int32, String, String, String, Boolean, Boolean)

    当cqhttp中use_ws_reverse配置项为true时使用

    Declaration
    public CQReverseWSClient(int bind_port, string api_path, string event_path, string access_token = "", bool use_group_table = false, bool use_message_table = false)
    Parameters
    Type Name Description
    System.Int32 bind_port

    端口

    System.String api_path

    即ws_reverse_api_url

    System.String event_path

    即ws_reverse_event_url

    System.String access_token
    System.Boolean use_group_table
    System.Boolean use_message_table
    • Improve this Doc
    • View Source
    ☀
    ☾