You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Discord.Net.WebSockets;
- using Discord.Rest;
-
- namespace Discord.Rpc
- {
- public class DiscordRpcConfig : DiscordRestConfig
- {
- public const int RpcAPIVersion = 1;
-
- public const int PortRangeStart = 6463;
- public const int PortRangeEnd = 6472;
-
- /// <summary> Gets or sets the time, in milliseconds, to wait for a connection to complete before aborting. </summary>
- public int ConnectionTimeout { get; set; } = 30000;
-
- /// <summary> Gets or sets the provider used to generate new websocket connections. </summary>
- public WebSocketProvider WebSocketProvider { get; set; } = () => new DefaultWebSocketClient();
- }
- }
|