This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Added missing IDisposables
tags/1.0-rc
RogueException
8 years ago
parent
d3d3bb155d
commit
b166683704
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net.Rest/Net/DefaultRestClient.cs
+1
-1
src/Discord.Net.WebSocket/Net/DefaultUdpSocket.cs
+1
-1
src/Discord.Net.WebSocket/Net/DefaultWebSocketClient.cs
+ 1
- 1
src/Discord.Net.Rest/Net/DefaultRestClient.cs
View File
@@ -12,7 +12,7 @@ using System.Threading.Tasks;
namespace Discord.Net.Rest
{
internal sealed class DefaultRestClient : IRestClient
internal sealed class DefaultRestClient : IRestClient
, IDisposable
{
private const int HR_SECURECHANNELFAILED = -2146233079;
+ 1
- 1
src/Discord.Net.WebSocket/Net/DefaultUdpSocket.cs
View File
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace Discord.Net.Udp
{
internal class DefaultUdpSocket : IUdpSocket
internal class DefaultUdpSocket : IUdpSocket
, IDisposable
{
public event Func<byte[], int, int, Task> ReceivedDatagram;
+ 1
- 1
src/Discord.Net.WebSocket/Net/DefaultWebSocketClient.cs
View File
@@ -10,7 +10,7 @@ using System.Threading.Tasks;
namespace Discord.Net.WebSockets
{
internal class DefaultWebSocketClient : IWebSocketClient
internal class DefaultWebSocketClient : IWebSocketClient
, IDisposable
{
public const int ReceiveChunkSize = 16 * 1024; //16KB
public const int SendChunkSize = 4 * 1024; //4KB
Write
Preview
Loading…
Cancel
Save