This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,116 @@
using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Net.WebSockets
{
/// <summary>An instance of this class represents the result of performing a single ReceiveAsync operation on a WebSocket.</summary>
// Token: 0x0200032F RID: 815
[Token(Token = "0x200032F")]
public class WebSocketReceiveResult
{
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketReceiveResult" /> class.</summary>
/// <param name="count">The number of bytes received.</param>
/// <param name="messageType">The type of message that was received.</param>
/// <param name="endOfMessage">Indicates whether this is the final message.</param>
// Token: 0x06001521 RID: 5409 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001521")]
[Address(RVA = "0x40B6E0", Offset = "0x40A4E0", VA = "0x18040B6E0")]
public WebSocketReceiveResult(int count, WebSocketMessageType messageType, bool endOfMessage)
{
}
/// <summary>Creates an instance of the <see cref="T:System.Net.WebSockets.WebSocketReceiveResult" /> class.</summary>
/// <param name="count">The number of bytes received.</param>
/// <param name="messageType">The type of message that was received.</param>
/// <param name="endOfMessage">Indicates whether this is the final message.</param>
/// <param name="closeStatus">Indicates the <see cref="T:System.Net.WebSockets.WebSocketCloseStatus" /> of the connection.</param>
/// <param name="closeStatusDescription">The description of <paramref name="closeStatus" />.</param>
// Token: 0x06001522 RID: 5410 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001522")]
[Address(RVA = "0x40B630", Offset = "0x40A430", VA = "0x18040B630")]
public WebSocketReceiveResult(int count, WebSocketMessageType messageType, bool endOfMessage, WebSocketCloseStatus? closeStatus, string closeStatusDescription)
{
}
/// <summary>Indicates the number of bytes that the WebSocket received.</summary>
/// <returns>Returns <see cref="T:System.Int32" />.</returns>
// Token: 0x17000446 RID: 1094
// (get) Token: 0x06001523 RID: 5411 RVA: 0x00009660 File Offset: 0x00007860
[Token(Token = "0x17000446")]
public int Count
{
[Token(Token = "0x6001523")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
[CompilerGenerated]
get
{
return 0;
}
}
/// <summary>Indicates whether the message has been received completely.</summary>
/// <returns>Returns <see cref="T:System.Boolean" />.</returns>
// Token: 0x17000447 RID: 1095
// (get) Token: 0x06001524 RID: 5412 RVA: 0x00009678 File Offset: 0x00007878
[Token(Token = "0x17000447")]
public bool EndOfMessage
{
[Token(Token = "0x6001524")]
[Address(RVA = "0x40B710", Offset = "0x40A510", VA = "0x18040B710")]
[CompilerGenerated]
get
{
return default(bool);
}
}
/// <summary>Indicates whether the current message is a UTF-8 message or a binary message.</summary>
/// <returns>Returns <see cref="T:System.Net.WebSockets.WebSocketMessageType" />.</returns>
// Token: 0x17000448 RID: 1096
// (get) Token: 0x06001525 RID: 5413 RVA: 0x00009690 File Offset: 0x00007890
[Token(Token = "0x17000448")]
public WebSocketMessageType MessageType
{
[Token(Token = "0x6001525")]
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720")]
[CompilerGenerated]
get
{
return WebSocketMessageType.Text;
}
}
/// <summary>Indicates the reason why the remote endpoint initiated the close handshake.</summary>
/// <returns>Returns <see cref="T:System.Net.WebSockets.WebSocketCloseStatus" />.</returns>
// Token: 0x17000449 RID: 1097
// (get) Token: 0x06001526 RID: 5414 RVA: 0x000096A8 File Offset: 0x000078A8
[Token(Token = "0x17000449")]
public WebSocketCloseStatus? CloseStatus
{
[Token(Token = "0x6001526")]
[Address(RVA = "0x40B700", Offset = "0x40A500", VA = "0x18040B700")]
[CompilerGenerated]
get
{
return null;
}
}
/// <summary>Returns the optional description that describes why the close handshake has been initiated by the remote endpoint.</summary>
/// <returns>Returns <see cref="T:System.String" />.</returns>
// Token: 0x1700044A RID: 1098
// (get) Token: 0x06001527 RID: 5415 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700044A")]
public string CloseStatusDescription
{
[Token(Token = "0x6001527")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
[CompilerGenerated]
get
{
return null;
}
}
}
}