Class CQReverseWSClient
反向websocket连接方式
Inherited Members
Namespace: cqhttp.Cyan.Clients
Assembly: cqhttp.Cyan.dll
Syntax
public class CQReverseWSClient : CQApiClient
Constructors
| Improve this Doc View SourceCQReverseWSClient(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 |