@tsonic/dotnet 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
  2. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
  3. package/Microsoft.Win32/internal/index.d.ts +9 -9
  4. package/System/bindings.json +114 -114
  5. package/System/internal/index.d.ts +156 -154
  6. package/System/internal/metadata.json +73 -73
  7. package/System.Buffers/internal/index.d.ts +1 -1
  8. package/System.CodeDom.Compiler/internal/index.d.ts +1 -1
  9. package/System.Collections/internal/index.d.ts +12 -8
  10. package/System.Collections.Generic/internal/index.d.ts +22 -14
  11. package/System.Collections.Immutable/internal/index.d.ts +11 -11
  12. package/System.Collections.Specialized/internal/index.d.ts +20 -18
  13. package/System.ComponentModel/internal/index.d.ts +219 -209
  14. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +42 -32
  15. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -1
  16. package/System.ComponentModel.Design/internal/index.d.ts +40 -40
  17. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -17
  18. package/System.Data/internal/index.d.ts +54 -46
  19. package/System.Data.Common/internal/index.d.ts +52 -44
  20. package/System.Data.SqlTypes/internal/index.d.ts +2 -2
  21. package/System.Diagnostics/internal/index.d.ts +85 -63
  22. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +30 -16
  23. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
  24. package/System.Diagnostics.Metrics/internal/index.d.ts +14 -9
  25. package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
  26. package/System.Diagnostics.Tracing/internal/index.d.ts +11 -9
  27. package/System.Drawing/internal/index.d.ts +33 -33
  28. package/System.Dynamic/internal/index.d.ts +1 -1
  29. package/System.Formats.Tar/internal/index.d.ts +3 -2
  30. package/System.Globalization/internal/index.d.ts +8 -6
  31. package/System.IO/internal/index.d.ts +30 -27
  32. package/System.IO.Compression/internal/index.d.ts +1 -1
  33. package/System.IO.Enumeration/internal/index.d.ts +4 -2
  34. package/System.Linq/internal/index.d.ts +63 -63
  35. package/System.Linq.Expressions/internal/index.d.ts +13 -13
  36. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  37. package/System.Net/internal/index.d.ts +87 -63
  38. package/System.Net.Http/internal/index.d.ts +37 -21
  39. package/System.Net.Http.Headers/internal/index.d.ts +37 -20
  40. package/System.Net.Http.Json/internal/index.d.ts +39 -39
  41. package/System.Net.Mail/internal/index.d.ts +22 -12
  42. package/System.Net.Mime/internal/index.d.ts +4 -2
  43. package/System.Net.NetworkInformation/internal/index.d.ts +1 -1
  44. package/System.Net.Quic/internal/index.d.ts +3 -2
  45. package/System.Net.Security/internal/index.d.ts +38 -22
  46. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -1
  47. package/System.Net.Sockets/internal/index.d.ts +23 -16
  48. package/System.Net.WebSockets/internal/index.d.ts +17 -11
  49. package/System.Numerics/bindings.json +408 -0
  50. package/System.Numerics/internal/metadata.json +272 -0
  51. package/System.Reflection/internal/index.d.ts +185 -182
  52. package/System.Reflection.Emit/internal/index.d.ts +82 -82
  53. package/System.Reflection.Metadata/bindings.json +48 -0
  54. package/System.Reflection.Metadata/internal/index.d.ts +5 -5
  55. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  56. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +1 -1
  57. package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
  58. package/System.Resources/internal/index.d.ts +13 -12
  59. package/System.Runtime/internal/index.d.ts +2 -1
  60. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -13
  61. package/System.Runtime.InteropServices/bindings.json +22 -22
  62. package/System.Runtime.InteropServices/internal/index.d.ts +46 -44
  63. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  64. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +1 -1
  65. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +3 -3
  66. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +16 -14
  67. package/System.Runtime.Loader/internal/index.d.ts +4 -4
  68. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  69. package/System.Runtime.Serialization/internal/index.d.ts +53 -43
  70. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +14 -14
  71. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
  72. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +2 -1
  73. package/System.Runtime.Serialization.Json/internal/index.d.ts +9 -8
  74. package/System.Runtime.Versioning/internal/index.d.ts +6 -3
  75. package/System.Security/internal/index.d.ts +35 -25
  76. package/System.Security.AccessControl/internal/index.d.ts +14 -10
  77. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +4 -4
  78. package/System.Security.Claims/internal/index.d.ts +16 -12
  79. package/System.Security.Cryptography/internal/index.d.ts +80 -66
  80. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +33 -32
  81. package/System.Security.Permissions/internal/index.d.ts +2 -2
  82. package/System.Security.Policy/internal/index.d.ts +2 -2
  83. package/System.Security.Principal/internal/index.d.ts +8 -10
  84. package/System.Text/internal/index.d.ts +13 -11
  85. package/System.Text.Json/internal/index.d.ts +67 -61
  86. package/System.Text.Json.Nodes/internal/index.d.ts +31 -31
  87. package/System.Text.Json.Schema/internal/index.d.ts +4 -3
  88. package/System.Text.Json.Serialization/internal/index.d.ts +9 -8
  89. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -42
  90. package/System.Threading/internal/index.d.ts +16 -15
  91. package/System.Threading.Tasks/internal/index.d.ts +4 -14
  92. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +3 -1
  93. package/System.Timers/internal/index.d.ts +4 -2
  94. package/System.Transactions/internal/index.d.ts +8 -6
  95. package/System.Web/internal/index.d.ts +24 -24
  96. package/System.Xml/internal/index.d.ts +100 -99
  97. package/System.Xml.Linq/internal/index.d.ts +16 -15
  98. package/System.Xml.Resolvers/internal/index.d.ts +1 -1
  99. package/System.Xml.Schema/internal/index.d.ts +129 -84
  100. package/System.Xml.Serialization/internal/index.d.ts +68 -47
  101. package/System.Xml.XPath/internal/index.d.ts +10 -10
  102. package/System.Xml.Xsl/internal/index.d.ts +7 -7
  103. package/System.Xml.Xsl.Runtime/internal/index.d.ts +8 -8
  104. package/__internal/extensions/index.d.ts +177 -176
  105. package/package.json +1 -1
@@ -44,36 +44,36 @@ export type JsonContent = JsonContent$instance & __JsonContent$views;
44
44
 
45
45
 
46
46
  export abstract class HttpClientJsonExtensions$instance {
47
- static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue>;
48
- static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue>;
49
- static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue>;
50
- static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
51
- static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
52
- static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
53
- static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue>;
54
- static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue>;
55
- static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue>;
56
- static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
57
- static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
58
- static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
59
- static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
60
- static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
61
- static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
62
- static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
63
- static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
64
- static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
65
- static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue>;
66
- static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue>;
67
- static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue>;
68
- static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
69
- static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
70
- static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
71
- static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue>;
72
- static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue>;
73
- static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue>;
74
- static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
75
- static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
76
- static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
47
+ static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
48
+ static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
49
+ static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
50
+ static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
51
+ static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
52
+ static deleteFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
53
+ static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
54
+ static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
55
+ static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
56
+ static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
57
+ static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
58
+ static deleteFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
59
+ static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
60
+ static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
61
+ static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
62
+ static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
63
+ static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
64
+ static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
65
+ static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
66
+ static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
67
+ static getFromJsonAsync<TValue>(client: HttpClient, requestUri: string, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
68
+ static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
69
+ static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
70
+ static getFromJsonAsync(client: HttpClient, requestUri: string, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
71
+ static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
72
+ static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
73
+ static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri, cancellationToken?: CancellationToken): Task_1<TValue | undefined>;
74
+ static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
75
+ static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
76
+ static getFromJsonAsync(client: HttpClient, requestUri: Uri, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
77
77
  static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
78
78
  static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
79
79
  static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
@@ -98,15 +98,15 @@ export abstract class HttpClientJsonExtensions$instance {
98
98
  export type HttpClientJsonExtensions = HttpClientJsonExtensions$instance;
99
99
 
100
100
  export abstract class HttpContentJsonExtensions$instance {
101
- static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
102
- static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
103
- static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
104
- static readFromJsonAsync<T>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<T>, cancellationToken?: CancellationToken): Task_1<T>;
105
- static readFromJsonAsync<T>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<T>;
106
- static readFromJsonAsync<T>(content: HttpContent, cancellationToken?: CancellationToken): Task_1<T>;
107
- static readFromJsonAsync(content: HttpContent, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown>;
108
- static readFromJsonAsync(content: HttpContent, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown>;
109
- static readFromJsonAsync(content: HttpContent, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown>;
101
+ static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
102
+ static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
103
+ static readFromJsonAsAsyncEnumerable<TValue>(content: HttpContent, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
104
+ static readFromJsonAsync<T>(content: HttpContent, jsonTypeInfo: JsonTypeInfo_1<T>, cancellationToken?: CancellationToken): Task_1<T | undefined>;
105
+ static readFromJsonAsync<T>(content: HttpContent, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<T | undefined>;
106
+ static readFromJsonAsync<T>(content: HttpContent, cancellationToken?: CancellationToken): Task_1<T | undefined>;
107
+ static readFromJsonAsync(content: HttpContent, type_: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
108
+ static readFromJsonAsync(content: HttpContent, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
109
+ static readFromJsonAsync(content: HttpContent, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
110
110
  }
111
111
 
112
112
 
@@ -160,9 +160,10 @@ export type AlternateViewCollection = AlternateViewCollection$instance & __Alter
160
160
 
161
161
 
162
162
  export interface Attachment$instance extends AttachmentBase$instance {
163
- readonly contentDisposition: ContentDisposition;
163
+ readonly contentDisposition: ContentDisposition | undefined;
164
164
  name: string;
165
- nameEncoding: Encoding;
165
+ get nameEncoding(): Encoding | undefined;
166
+ set nameEncoding(value: Encoding);
166
167
  dispose(): void;
167
168
  }
168
169
 
@@ -251,7 +252,8 @@ export type AttachmentCollection = AttachmentCollection$instance & __AttachmentC
251
252
 
252
253
 
253
254
  export interface LinkedResource$instance extends AttachmentBase$instance {
254
- contentLink: Uri;
255
+ get contentLink(): Uri | undefined;
256
+ set contentLink(value: Uri);
255
257
  dispose(): void;
256
258
  }
257
259
 
@@ -383,20 +385,26 @@ export interface MailMessage$instance {
383
385
  readonly attachments: AttachmentCollection;
384
386
  readonly bcc: MailAddressCollection;
385
387
  body: string;
386
- bodyEncoding: Encoding;
388
+ get bodyEncoding(): Encoding | undefined;
389
+ set bodyEncoding(value: Encoding);
387
390
  bodyTransferEncoding: TransferEncoding;
388
391
  readonly CC: MailAddressCollection;
389
392
  deliveryNotificationOptions: DeliveryNotificationOptions;
390
- from_: MailAddress;
393
+ get from_(): MailAddress | undefined;
394
+ set from_(value: MailAddress);
391
395
  readonly headers: NameValueCollection;
392
- headersEncoding: Encoding;
396
+ get headersEncoding(): Encoding | undefined;
397
+ set headersEncoding(value: Encoding);
393
398
  isBodyHtml: boolean;
394
399
  priority: MailPriority;
395
- replyTo: MailAddress;
400
+ get replyTo(): MailAddress | undefined;
401
+ set replyTo(value: MailAddress);
396
402
  readonly replyToList: MailAddressCollection;
397
- sender: MailAddress;
403
+ get sender(): MailAddress | undefined;
404
+ set sender(value: MailAddress);
398
405
  subject: string;
399
- subjectEncoding: Encoding;
406
+ get subjectEncoding(): Encoding | undefined;
407
+ set subjectEncoding(value: Encoding);
400
408
  readonly to: MailAddressCollection;
401
409
  dispose(): void;
402
410
  }
@@ -426,10 +434,12 @@ export interface SmtpClient$instance {
426
434
  deliveryMethod: SmtpDeliveryMethod;
427
435
  enableSsl: boolean;
428
436
  host: string;
429
- pickupDirectoryLocation: string;
437
+ get pickupDirectoryLocation(): string | undefined;
438
+ set pickupDirectoryLocation(value: string);
430
439
  port: int;
431
440
  readonly servicePoint: ServicePoint;
432
- targetName: string;
441
+ get targetName(): string | undefined;
442
+ set targetName(value: string);
433
443
  timeout: int;
434
444
  useDefaultCredentials: boolean;
435
445
  dispose(): void;
@@ -484,7 +494,7 @@ export type SmtpException = SmtpException$instance & __SmtpException$views;
484
494
 
485
495
 
486
496
  export interface SmtpFailedRecipientException$instance extends SmtpException$instance {
487
- readonly failedRecipient: string;
497
+ readonly failedRecipient: string | undefined;
488
498
  getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
489
499
  }
490
500
 
@@ -43,8 +43,10 @@ export const ContentDisposition: {
43
43
  export type ContentDisposition = ContentDisposition$instance;
44
44
 
45
45
  export interface ContentType$instance {
46
- boundary: string;
47
- charSet: string;
46
+ get boundary(): string | undefined;
47
+ set boundary(value: string);
48
+ get charSet(): string | undefined;
49
+ set charSet(value: string);
48
50
  mediaType: string;
49
51
  name: string;
50
52
  readonly parameters: StringDictionary;
@@ -702,7 +702,7 @@ export type Ping = Ping$instance & __Ping$views;
702
702
 
703
703
 
704
704
  export interface PingCompletedEventArgs$instance extends AsyncCompletedEventArgs {
705
- readonly reply: PingReply;
705
+ readonly reply: PingReply | undefined;
706
706
  }
707
707
 
708
708
 
@@ -82,7 +82,7 @@ export interface QuicConnection$instance {
82
82
  readonly localEndPoint: IPEndPoint;
83
83
  readonly negotiatedApplicationProtocol: SslApplicationProtocol;
84
84
  readonly negotiatedCipherSuite: TlsCipherSuite;
85
- readonly remoteCertificate: X509Certificate;
85
+ readonly remoteCertificate: X509Certificate | undefined;
86
86
  readonly remoteEndPoint: IPEndPoint;
87
87
  readonly sslProtocol: SslProtocols;
88
88
  readonly targetHostName: string;
@@ -119,7 +119,8 @@ export interface QuicConnectionOptions$instance {
119
119
  keepAliveInterval: TimeSpan;
120
120
  maxInboundBidirectionalStreams: int;
121
121
  maxInboundUnidirectionalStreams: int;
122
- streamCapacityCallback: Action_2<QuicConnection, QuicStreamCapacityChangedArgs>;
122
+ get streamCapacityCallback(): Action_2<QuicConnection, QuicStreamCapacityChangedArgs> | undefined;
123
+ set streamCapacityCallback(value: Action_2<QuicConnection, QuicStreamCapacityChangedArgs>);
123
124
  }
124
125
 
125
126
 
@@ -417,7 +417,7 @@ export enum TlsCipherSuite {
417
417
  }
418
418
 
419
419
 
420
- export type LocalCertificateSelectionCallback = (sender: unknown, targetHost: string, localCertificates: X509CertificateCollection, remoteCertificate: X509Certificate, acceptableIssuers: string[]) => X509Certificate;
420
+ export type LocalCertificateSelectionCallback = (sender: unknown, targetHost: string, localCertificates: X509CertificateCollection, remoteCertificate: X509Certificate, acceptableIssuers: string[]) => X509Certificate | undefined;
421
421
 
422
422
 
423
423
  export type RemoteCertificateValidationCallback = (sender: unknown, certificate: X509Certificate, chain: X509Chain, sslPolicyErrors: SslPolicyErrors) => boolean;
@@ -516,11 +516,11 @@ export interface NegotiateAuthentication$instance {
516
516
  readonly package_: string;
517
517
  readonly protectionLevel: ProtectionLevel;
518
518
  readonly remoteIdentity: IIdentity;
519
- readonly targetName: string;
519
+ readonly targetName: string | undefined;
520
520
  computeIntegrityCheck(message: ReadOnlySpan_1<System_Internal.Byte>, signatureWriter: IBufferWriter_1<System_Internal.Byte>): void;
521
521
  dispose(): void;
522
- getOutgoingBlob(incomingBlob: ReadOnlySpan_1<System_Internal.Byte>, statusCode: NegotiateAuthenticationStatusCode): byte[];
523
- getOutgoingBlob(incomingBlob: string, statusCode: NegotiateAuthenticationStatusCode): string;
522
+ getOutgoingBlob(incomingBlob: ReadOnlySpan_1<System_Internal.Byte>, statusCode: NegotiateAuthenticationStatusCode): byte[] | undefined;
523
+ getOutgoingBlob(incomingBlob: string, statusCode: NegotiateAuthenticationStatusCode): string | undefined;
524
524
  unwrap(input: ReadOnlySpan_1<System_Internal.Byte>, outputWriter: IBufferWriter_1<System_Internal.Byte>, wasEncrypted: boolean): NegotiateAuthenticationStatusCode;
525
525
  unwrapInPlace(input: Span_1<System_Internal.Byte>, unwrappedOffset: int, unwrappedLength: int, wasEncrypted: boolean): NegotiateAuthenticationStatusCode;
526
526
  verifyIntegrityCheck(message: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
@@ -545,12 +545,14 @@ export type NegotiateAuthentication = NegotiateAuthentication$instance & __Negot
545
545
 
546
546
  export interface NegotiateAuthenticationClientOptions$instance {
547
547
  allowedImpersonationLevel: TokenImpersonationLevel;
548
- binding: ChannelBinding;
548
+ get binding(): ChannelBinding | undefined;
549
+ set binding(value: ChannelBinding);
549
550
  credential: NetworkCredential;
550
551
  package_: string;
551
552
  requiredProtectionLevel: ProtectionLevel;
552
553
  requireMutualAuthentication: boolean;
553
- targetName: string;
554
+ get targetName(): string | undefined;
555
+ set targetName(value: string);
554
556
  }
555
557
 
556
558
 
@@ -562,10 +564,12 @@ export const NegotiateAuthenticationClientOptions: {
562
564
  export type NegotiateAuthenticationClientOptions = NegotiateAuthenticationClientOptions$instance;
563
565
 
564
566
  export interface NegotiateAuthenticationServerOptions$instance {
565
- binding: ChannelBinding;
567
+ get binding(): ChannelBinding | undefined;
568
+ set binding(value: ChannelBinding);
566
569
  credential: NetworkCredential;
567
570
  package_: string;
568
- policy: ExtendedProtectionPolicy;
571
+ get policy(): ExtendedProtectionPolicy | undefined;
572
+ set policy(value: ExtendedProtectionPolicy);
569
573
  requiredImpersonationLevel: TokenImpersonationLevel;
570
574
  requiredProtectionLevel: ProtectionLevel;
571
575
  }
@@ -683,16 +687,22 @@ export interface SslClientAuthenticationOptions$instance {
683
687
  allowRsaPssPadding: boolean;
684
688
  allowTlsResume: boolean;
685
689
  applicationProtocols: List_1<SslApplicationProtocol>;
686
- certificateChainPolicy: X509ChainPolicy;
690
+ get certificateChainPolicy(): X509ChainPolicy | undefined;
691
+ set certificateChainPolicy(value: X509ChainPolicy);
687
692
  certificateRevocationCheckMode: X509RevocationMode;
688
- cipherSuitesPolicy: CipherSuitesPolicy;
689
- clientCertificateContext: SslStreamCertificateContext;
693
+ get cipherSuitesPolicy(): CipherSuitesPolicy | undefined;
694
+ set cipherSuitesPolicy(value: CipherSuitesPolicy);
695
+ get clientCertificateContext(): SslStreamCertificateContext | undefined;
696
+ set clientCertificateContext(value: SslStreamCertificateContext);
690
697
  clientCertificates: X509CertificateCollection;
691
698
  enabledSslProtocols: SslProtocols;
692
699
  encryptionPolicy: EncryptionPolicy;
693
- localCertificateSelectionCallback: LocalCertificateSelectionCallback;
694
- remoteCertificateValidationCallback: RemoteCertificateValidationCallback;
695
- targetHost: string;
700
+ get localCertificateSelectionCallback(): LocalCertificateSelectionCallback | undefined;
701
+ set localCertificateSelectionCallback(value: LocalCertificateSelectionCallback);
702
+ get remoteCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
703
+ set remoteCertificateValidationCallback(value: RemoteCertificateValidationCallback);
704
+ get targetHost(): string | undefined;
705
+ set targetHost(value: string);
696
706
  }
697
707
 
698
708
 
@@ -709,16 +719,22 @@ export interface SslServerAuthenticationOptions$instance {
709
719
  allowRsaPssPadding: boolean;
710
720
  allowTlsResume: boolean;
711
721
  applicationProtocols: List_1<SslApplicationProtocol>;
712
- certificateChainPolicy: X509ChainPolicy;
722
+ get certificateChainPolicy(): X509ChainPolicy | undefined;
723
+ set certificateChainPolicy(value: X509ChainPolicy);
713
724
  certificateRevocationCheckMode: X509RevocationMode;
714
- cipherSuitesPolicy: CipherSuitesPolicy;
725
+ get cipherSuitesPolicy(): CipherSuitesPolicy | undefined;
726
+ set cipherSuitesPolicy(value: CipherSuitesPolicy);
715
727
  clientCertificateRequired: boolean;
716
728
  enabledSslProtocols: SslProtocols;
717
729
  encryptionPolicy: EncryptionPolicy;
718
- remoteCertificateValidationCallback: RemoteCertificateValidationCallback;
719
- serverCertificate: X509Certificate;
720
- serverCertificateContext: SslStreamCertificateContext;
721
- serverCertificateSelectionCallback: ServerCertificateSelectionCallback;
730
+ get remoteCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
731
+ set remoteCertificateValidationCallback(value: RemoteCertificateValidationCallback);
732
+ get serverCertificate(): X509Certificate | undefined;
733
+ set serverCertificate(value: X509Certificate);
734
+ get serverCertificateContext(): SslStreamCertificateContext | undefined;
735
+ set serverCertificateContext(value: SslStreamCertificateContext);
736
+ get serverCertificateSelectionCallback(): ServerCertificateSelectionCallback | undefined;
737
+ set serverCertificateSelectionCallback(value: ServerCertificateSelectionCallback);
722
738
  }
723
739
 
724
740
 
@@ -747,12 +763,12 @@ export interface SslStream$instance extends AuthenticatedStream$instance {
747
763
  readonly keyExchangeAlgorithm: ExchangeAlgorithmType;
748
764
  readonly keyExchangeStrength: int;
749
765
  readonly length: long;
750
- readonly localCertificate: X509Certificate;
766
+ readonly localCertificate: X509Certificate | undefined;
751
767
  readonly negotiatedApplicationProtocol: SslApplicationProtocol;
752
768
  readonly negotiatedCipherSuite: TlsCipherSuite;
753
769
  position: long;
754
770
  readTimeout: int;
755
- readonly remoteCertificate: X509Certificate;
771
+ readonly remoteCertificate: X509Certificate | undefined;
756
772
  readonly sslProtocol: SslProtocols;
757
773
  readonly targetHostName: string;
758
774
  readonly transportContext: TransportContext;
@@ -22,7 +22,8 @@ export type SseItemParser_1<T> = (eventType: string, data: ReadOnlySpan_1<System
22
22
 
23
23
  export interface SseItem_1$instance<T> {
24
24
  readonly data: T;
25
- eventId: string;
25
+ get eventId(): string | undefined;
26
+ set eventId(value: string);
26
27
  readonly eventType: string;
27
28
  reconnectionInterval: Nullable_1<TimeSpan>;
28
29
  }
@@ -480,7 +480,8 @@ export type LingerOption = LingerOption$instance;
480
480
  export interface MulticastOption$instance {
481
481
  group: IPAddress;
482
482
  interfaceIndex: int;
483
- localAddress: IPAddress;
483
+ get localAddress(): IPAddress | undefined;
484
+ set localAddress(value: IPAddress);
484
485
  }
485
486
 
486
487
 
@@ -576,8 +577,8 @@ export interface SendPacketsElement$instance {
576
577
  readonly buffer: byte[];
577
578
  readonly count: int;
578
579
  readonly endOfPacket: boolean;
579
- readonly filePath: string;
580
- readonly fileStream: FileStream;
580
+ readonly filePath: string | undefined;
581
+ readonly fileStream: FileStream | undefined;
581
582
  readonly memoryBuffer: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
582
583
  readonly offset: int;
583
584
  readonly offsetLong: long;
@@ -614,7 +615,8 @@ export interface Socket$instance {
614
615
  exclusiveAddressUse: boolean;
615
616
  readonly handle: nint;
616
617
  readonly isBound: boolean;
617
- lingerState: LingerOption;
618
+ get lingerState(): LingerOption | undefined;
619
+ set lingerState(value: LingerOption);
618
620
  readonly localEndPoint: EndPoint;
619
621
  multicastLoopback: boolean;
620
622
  noDelay: boolean;
@@ -643,15 +645,15 @@ export interface Socket$instance {
643
645
  beginConnect(addresses: IPAddress[], port: int, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
644
646
  beginDisconnect(reuseSocket: boolean, callback: AsyncCallback, state: unknown): IAsyncResult;
645
647
  beginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback, state: unknown): IAsyncResult;
646
- beginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback, state: unknown): IAsyncResult;
648
+ beginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback, state: unknown): IAsyncResult | undefined;
647
649
  beginReceive(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, callback: AsyncCallback, state: unknown): IAsyncResult;
648
- beginReceive(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback, state: unknown): IAsyncResult;
650
+ beginReceive(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback, state: unknown): IAsyncResult | undefined;
649
651
  beginReceiveFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback, state: unknown): IAsyncResult;
650
652
  beginReceiveMessageFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback, state: unknown): IAsyncResult;
651
653
  beginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback, state: unknown): IAsyncResult;
652
- beginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback, state: unknown): IAsyncResult;
654
+ beginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback, state: unknown): IAsyncResult | undefined;
653
655
  beginSend(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, callback: AsyncCallback, state: unknown): IAsyncResult;
654
- beginSend(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback, state: unknown): IAsyncResult;
656
+ beginSend(buffers: IList_1<ArraySegment_1<System_Internal.Byte>>, socketFlags: SocketFlags, errorCode: SocketError, callback: AsyncCallback, state: unknown): IAsyncResult | undefined;
655
657
  beginSendFile(fileName: string, callback: AsyncCallback, state: unknown): IAsyncResult;
656
658
  beginSendFile(fileName: string, preBuffer: byte[], postBuffer: byte[], flags: TransmitFileOptions, callback: AsyncCallback, state: unknown): IAsyncResult;
657
659
  beginSendTo(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback, state: unknown): IAsyncResult;
@@ -690,7 +692,7 @@ export interface Socket$instance {
690
692
  endSendFile(asyncResult: IAsyncResult): void;
691
693
  endSendTo(asyncResult: IAsyncResult): int;
692
694
  getRawSocketOption(optionLevel: int, optionName: int, optionValue: Span_1<System_Internal.Byte>): int;
693
- getSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName): unknown;
695
+ getSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName): unknown | undefined;
694
696
  getSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: byte[]): void;
695
697
  getSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionLength: int): byte[];
696
698
  ioControl(ioControlCode: int, optionInValue: byte[], optionOutValue: byte[]): int;
@@ -811,12 +813,14 @@ export type Socket = Socket$instance & __Socket$views;
811
813
 
812
814
 
813
815
  export interface SocketAsyncEventArgs$instance extends EventArgs {
814
- acceptSocket: Socket;
816
+ get acceptSocket(): Socket | undefined;
817
+ set acceptSocket(value: Socket);
815
818
  readonly buffer: byte[];
816
- bufferList: IList_1<ArraySegment_1<System_Internal.Byte>>;
819
+ get bufferList(): IList_1<ArraySegment_1<System_Internal.Byte>> | undefined;
820
+ set bufferList(value: IList_1<ArraySegment_1<System_Internal.Byte>>);
817
821
  readonly bytesTransferred: int;
818
- readonly connectByNameError: Exception;
819
- readonly connectSocket: Socket;
822
+ readonly connectByNameError: Exception | undefined;
823
+ readonly connectSocket: Socket | undefined;
820
824
  readonly count: int;
821
825
  disconnectReuseSocket: boolean;
822
826
  readonly lastOperation: SocketAsyncOperation;
@@ -824,12 +828,14 @@ export interface SocketAsyncEventArgs$instance extends EventArgs {
824
828
  readonly offset: int;
825
829
  readonly receiveMessageFromPacketInfo: IPPacketInformation;
826
830
  remoteEndPoint: EndPoint;
827
- sendPacketsElements: SendPacketsElement[];
831
+ get sendPacketsElements(): SendPacketsElement[] | undefined;
832
+ set sendPacketsElements(value: SendPacketsElement[]);
828
833
  sendPacketsFlags: TransmitFileOptions;
829
834
  sendPacketsSendSize: int;
830
835
  socketError: SocketError;
831
836
  socketFlags: SocketFlags;
832
- userToken: unknown;
837
+ get userToken(): unknown | undefined;
838
+ set userToken(value: unknown);
833
839
  dispose(): void;
834
840
  setBuffer(offset: int, count: int): void;
835
841
  setBuffer(buffer: byte[], offset: int, count: int): void;
@@ -879,7 +885,8 @@ export interface TcpClient$instance {
879
885
  client: Socket;
880
886
  readonly connected: boolean;
881
887
  exclusiveAddressUse: boolean;
882
- lingerState: LingerOption;
888
+ get lingerState(): LingerOption | undefined;
889
+ set lingerState(value: LingerOption);
883
890
  noDelay: boolean;
884
891
  receiveBufferSize: int;
885
892
  receiveTimeout: int;
@@ -95,12 +95,13 @@ export type ValueWebSocketReceiveResult = ValueWebSocketReceiveResult$instance;
95
95
 
96
96
  export interface ClientWebSocket$instance extends WebSocket$instance {
97
97
  readonly closeStatus: Nullable_1<WebSocketCloseStatus>;
98
- readonly closeStatusDescription: string;
99
- httpResponseHeaders: IReadOnlyDictionary_2<System_Internal.String, IEnumerable_1<System_Internal.String>>;
98
+ readonly closeStatusDescription: string | undefined;
99
+ get httpResponseHeaders(): IReadOnlyDictionary_2<System_Internal.String, IEnumerable_1<System_Internal.String>> | undefined;
100
+ set httpResponseHeaders(value: IReadOnlyDictionary_2<System_Internal.String, IEnumerable_1<System_Internal.String>>);
100
101
  readonly httpStatusCode: HttpStatusCode;
101
102
  readonly options: ClientWebSocketOptions;
102
103
  readonly state: WebSocketState;
103
- readonly subProtocol: string;
104
+ readonly subProtocol: string | undefined;
104
105
  abort(): void;
105
106
  closeAsync(closeStatus: WebSocketCloseStatus, statusDescription: string, cancellationToken: CancellationToken): Task;
106
107
  closeOutputAsync(closeStatus: WebSocketCloseStatus, statusDescription: string, cancellationToken: CancellationToken): Task;
@@ -135,13 +136,16 @@ export interface ClientWebSocketOptions$instance {
135
136
  collectHttpResponseDetails: boolean;
136
137
  cookies: CookieContainer;
137
138
  credentials: ICredentials;
138
- dangerousDeflateOptions: WebSocketDeflateOptions;
139
+ get dangerousDeflateOptions(): WebSocketDeflateOptions | undefined;
140
+ set dangerousDeflateOptions(value: WebSocketDeflateOptions);
139
141
  httpVersion: Version;
140
142
  httpVersionPolicy: HttpVersionPolicy;
141
143
  keepAliveInterval: TimeSpan;
142
144
  keepAliveTimeout: TimeSpan;
143
- proxy: IWebProxy;
144
- remoteCertificateValidationCallback: RemoteCertificateValidationCallback;
145
+ get proxy(): IWebProxy | undefined;
146
+ set proxy(value: IWebProxy);
147
+ get remoteCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
148
+ set remoteCertificateValidationCallback(value: RemoteCertificateValidationCallback);
145
149
  useDefaultCredentials: boolean;
146
150
  addSubProtocol(subProtocol: string): void;
147
151
  setBuffer(receiveBufferSize: int, sendBufferSize: int): void;
@@ -182,9 +186,9 @@ export type HttpListenerWebSocketContext = HttpListenerWebSocketContext$instance
182
186
 
183
187
  export interface WebSocket$instance {
184
188
  readonly closeStatus: Nullable_1<WebSocketCloseStatus>;
185
- readonly closeStatusDescription: string;
189
+ readonly closeStatusDescription: string | undefined;
186
190
  readonly state: WebSocketState;
187
- readonly subProtocol: string;
191
+ readonly subProtocol: string | undefined;
188
192
  abort(): void;
189
193
  closeAsync(closeStatus: WebSocketCloseStatus, statusDescription: string, cancellationToken: CancellationToken): Task;
190
194
  closeOutputAsync(closeStatus: WebSocketCloseStatus, statusDescription: string, cancellationToken: CancellationToken): Task;
@@ -241,11 +245,13 @@ export const WebSocketContext: {
241
245
  export type WebSocketContext = WebSocketContext$instance;
242
246
 
243
247
  export interface WebSocketCreationOptions$instance {
244
- dangerousDeflateOptions: WebSocketDeflateOptions;
248
+ get dangerousDeflateOptions(): WebSocketDeflateOptions | undefined;
249
+ set dangerousDeflateOptions(value: WebSocketDeflateOptions);
245
250
  isServer: boolean;
246
251
  keepAliveInterval: TimeSpan;
247
252
  keepAliveTimeout: TimeSpan;
248
- subProtocol: string;
253
+ get subProtocol(): string | undefined;
254
+ set subProtocol(value: string);
249
255
  }
250
256
 
251
257
 
@@ -305,7 +311,7 @@ export type WebSocketException = WebSocketException$instance & __WebSocketExcept
305
311
 
306
312
  export interface WebSocketReceiveResult$instance {
307
313
  readonly closeStatus: Nullable_1<WebSocketCloseStatus>;
308
- readonly closeStatusDescription: string;
314
+ readonly closeStatusDescription: string | undefined;
309
315
  readonly count: int;
310
316
  readonly endOfMessage: boolean;
311
317
  readonly messageType: WebSocketMessageType;