@tsonic/dotnet 0.8.1 → 0.8.2
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.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +11 -11
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +994 -1006
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +3 -3
- package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
- package/System.Collections/internal/index.d.ts +26 -28
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +68 -60
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +99 -99
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +63 -65
- package/System.ComponentModel/internal/index.d.ts +428 -430
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +72 -72
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
- package/System.Data/internal/index.d.ts +168 -168
- package/System.Data.Common/internal/index.d.ts +48 -48
- package/System.Data.SqlTypes/internal/index.d.ts +21 -21
- package/System.Diagnostics/internal/index.d.ts +262 -262
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
- package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
- package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
- package/System.Drawing/internal/index.d.ts +77 -77
- package/System.Dynamic/internal/index.d.ts +27 -27
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +3 -3
- package/System.Globalization/internal/index.d.ts +18 -18
- package/System.IO/internal/index.d.ts +107 -107
- package/System.IO.Compression/internal/index.d.ts +25 -25
- package/System.IO.Enumeration/internal/index.d.ts +5 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +180 -180
- package/System.Linq.Expressions/internal/index.d.ts +169 -169
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +151 -153
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +58 -58
- package/System.Net.Http.Headers/internal/index.d.ts +48 -48
- package/System.Net.Http.Json/internal/index.d.ts +58 -58
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +72 -72
- package/System.Net.Mime/internal/index.d.ts +2 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Security/internal/index.d.ts +52 -52
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
- package/System.Net.Sockets/internal/index.d.ts +41 -41
- package/System.Net.WebSockets/internal/index.d.ts +34 -34
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +91 -93
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +219 -219
- package/System.Reflection.Emit/internal/index.d.ts +118 -118
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +14 -14
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
- package/System.Resources/internal/index.d.ts +24 -24
- package/System.Runtime/internal/index.d.ts +5 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
- package/System.Runtime.Loader/internal/index.d.ts +6 -6
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +77 -79
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
- package/System.Runtime.Versioning/internal/index.d.ts +9 -9
- package/System.Security/internal/index.d.ts +49 -49
- package/System.Security.AccessControl/internal/index.d.ts +31 -31
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
- package/System.Security.Claims/internal/index.d.ts +23 -25
- package/System.Security.Cryptography/internal/index.d.ts +189 -189
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +9 -11
- package/System.Text/internal/index.d.ts +51 -51
- package/System.Text.Json/internal/index.d.ts +83 -83
- package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
- package/System.Text.Json.Schema/internal/index.d.ts +5 -5
- package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +87 -87
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +84 -94
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +3 -3
- package/System.Transactions/internal/index.d.ts +20 -20
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +215 -215
- package/System.Xml.Linq/internal/index.d.ts +51 -51
- package/System.Xml.Resolvers/internal/index.d.ts +4 -4
- package/System.Xml.Schema/internal/index.d.ts +105 -105
- package/System.Xml.Serialization/internal/index.d.ts +136 -136
- package/System.Xml.XPath/internal/index.d.ts +19 -19
- package/System.Xml.Xsl/internal/index.d.ts +41 -41
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ export interface JsonContent$instance extends HttpContent {
|
|
|
29
29
|
|
|
30
30
|
export const JsonContent: {
|
|
31
31
|
new(): JsonContent;
|
|
32
|
-
create(inputValue: unknown, jsonTypeInfo: JsonTypeInfo, mediaType?: MediaTypeHeaderValue): JsonContent;
|
|
32
|
+
create(inputValue: unknown | undefined, jsonTypeInfo: JsonTypeInfo, mediaType?: MediaTypeHeaderValue | undefined): JsonContent;
|
|
33
33
|
create(inputValue: unknown, inputType: Type, mediaType?: MediaTypeHeaderValue, options?: JsonSerializerOptions): JsonContent;
|
|
34
34
|
create<T>(inputValue: T, jsonTypeInfo: JsonTypeInfo_1<T>, mediaType?: MediaTypeHeaderValue): JsonContent;
|
|
35
35
|
create<T>(inputValue: T, mediaType?: MediaTypeHeaderValue, options?: JsonSerializerOptions): JsonContent;
|
|
@@ -44,69 +44,69 @@ 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>;
|
|
77
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
78
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
79
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
80
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
81
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
82
|
-
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
83
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
84
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
85
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
86
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
87
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
88
|
-
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
89
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
90
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
91
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
92
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
93
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
94
|
-
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
47
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, 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 | undefined, type_: Type, options: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
51
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
52
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
53
|
+
static deleteFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, 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 | undefined, type_: Type, options: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
57
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
58
|
+
static deleteFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
59
|
+
static getFromJsonAsAsyncEnumerable<TValue>(client: HttpClient, requestUri: string | undefined, 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 | undefined, 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 | undefined, 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 | undefined, type_: Type, options: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
69
|
+
static getFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
70
|
+
static getFromJsonAsync(client: HttpClient, requestUri: string | undefined, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
71
|
+
static getFromJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, 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 | undefined, type_: Type, options: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
75
|
+
static getFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
76
|
+
static getFromJsonAsync(client: HttpClient, requestUri: Uri | undefined, type_: Type, cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
77
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
78
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
79
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
80
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
81
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
82
|
+
static patchAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
83
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
84
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
85
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
86
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
87
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
88
|
+
static postAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
89
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
90
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
91
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: string | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
92
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
93
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, options?: JsonSerializerOptions | undefined, cancellationToken?: CancellationToken): Task_1<HttpResponseMessage>;
|
|
94
|
+
static putAsJsonAsync<TValue>(client: HttpClient, requestUri: Uri | undefined, value: TValue, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|
|
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 | undefined, 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
|
|
|
@@ -14,7 +14,7 @@ export interface HttpMetricsEnrichmentContext$instance {
|
|
|
14
14
|
readonly exception: Exception;
|
|
15
15
|
readonly request: HttpRequestMessage;
|
|
16
16
|
readonly response: HttpResponseMessage;
|
|
17
|
-
addCustomTag(name: string, value: unknown): void;
|
|
17
|
+
addCustomTag(name: string, value: unknown | undefined): void;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
@@ -100,13 +100,13 @@ export interface AlternateView$instance extends AttachmentBase$instance {
|
|
|
100
100
|
|
|
101
101
|
export const AlternateView: {
|
|
102
102
|
new(fileName: string): AlternateView;
|
|
103
|
-
new(fileName: string, mediaType: string): AlternateView;
|
|
104
|
-
new(fileName: string, contentType: ContentType): AlternateView;
|
|
103
|
+
new(fileName: string, mediaType: string | undefined): AlternateView;
|
|
104
|
+
new(fileName: string, contentType: ContentType | undefined): AlternateView;
|
|
105
105
|
new(contentStream: Stream): AlternateView;
|
|
106
|
-
new(contentStream: Stream, mediaType: string): AlternateView;
|
|
107
|
-
new(contentStream: Stream, contentType: ContentType): AlternateView;
|
|
108
|
-
createAlternateViewFromString(content: string, contentType: ContentType): AlternateView;
|
|
109
|
-
createAlternateViewFromString(content: string, contentEncoding: Encoding, mediaType: string): AlternateView;
|
|
106
|
+
new(contentStream: Stream, mediaType: string | undefined): AlternateView;
|
|
107
|
+
new(contentStream: Stream, contentType: ContentType | undefined): AlternateView;
|
|
108
|
+
createAlternateViewFromString(content: string, contentType: ContentType | undefined): AlternateView;
|
|
109
|
+
createAlternateViewFromString(content: string, contentEncoding: Encoding | undefined, mediaType: string | undefined): AlternateView;
|
|
110
110
|
createAlternateViewFromString(content: string): AlternateView;
|
|
111
111
|
};
|
|
112
112
|
|
|
@@ -120,10 +120,10 @@ export type AlternateView = AlternateView$instance & __AlternateView$views;
|
|
|
120
120
|
|
|
121
121
|
export interface AlternateViewCollection$instance extends Collection_1<AlternateView> {
|
|
122
122
|
add(item: AlternateView): void;
|
|
123
|
-
add(value: unknown): int;
|
|
123
|
+
add(value: unknown | undefined): int;
|
|
124
124
|
clear(): void;
|
|
125
125
|
contains(item: AlternateView): boolean;
|
|
126
|
-
contains(value: unknown): boolean;
|
|
126
|
+
contains(value: unknown | undefined): boolean;
|
|
127
127
|
copyTo(array: AlternateView[], index: int): void;
|
|
128
128
|
copyTo(array: ClrArray, index: int): void;
|
|
129
129
|
dispose(): void;
|
|
@@ -131,9 +131,9 @@ export interface AlternateViewCollection$instance extends Collection_1<Alternate
|
|
|
131
131
|
getEnumerator(): IEnumerator;
|
|
132
132
|
indexOf(item: AlternateView): int;
|
|
133
133
|
insert(index: int, item: AlternateView): void;
|
|
134
|
-
insert(index: int, value: unknown): void;
|
|
134
|
+
insert(index: int, value: unknown | undefined): void;
|
|
135
135
|
remove(item: AlternateView): boolean;
|
|
136
|
-
remove(value: unknown): void;
|
|
136
|
+
remove(value: unknown | undefined): void;
|
|
137
137
|
removeAt(index: int): void;
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -160,23 +160,23 @@ 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
|
+
nameEncoding: Encoding | undefined;
|
|
166
166
|
dispose(): void;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
|
|
170
170
|
export const Attachment: {
|
|
171
|
-
new(fileName: string): Attachment;
|
|
172
|
-
new(fileName: string, mediaType: string): Attachment;
|
|
173
|
-
new(fileName: string, contentType: ContentType): Attachment;
|
|
174
|
-
new(contentStream: Stream, name: string): Attachment;
|
|
175
|
-
new(contentStream: Stream, name: string, mediaType: string): Attachment;
|
|
176
|
-
new(contentStream: Stream, contentType: ContentType): Attachment;
|
|
177
|
-
createAttachmentFromString(content: string, contentType: ContentType): Attachment;
|
|
178
|
-
createAttachmentFromString(content: string, name: string, contentEncoding: Encoding, mediaType: string): Attachment;
|
|
179
|
-
createAttachmentFromString(content: string, name: string): Attachment;
|
|
171
|
+
new(fileName: string | undefined): Attachment;
|
|
172
|
+
new(fileName: string | undefined, mediaType: string | undefined): Attachment;
|
|
173
|
+
new(fileName: string | undefined, contentType: ContentType | undefined): Attachment;
|
|
174
|
+
new(contentStream: Stream | undefined, name: string | undefined): Attachment;
|
|
175
|
+
new(contentStream: Stream, name: string | undefined, mediaType: string | undefined): Attachment;
|
|
176
|
+
new(contentStream: Stream | undefined, contentType: ContentType | undefined): Attachment;
|
|
177
|
+
createAttachmentFromString(content: string | undefined, contentType: ContentType | undefined): Attachment | undefined;
|
|
178
|
+
createAttachmentFromString(content: string, name: string | undefined, contentEncoding: Encoding | undefined, mediaType: string | undefined): Attachment;
|
|
179
|
+
createAttachmentFromString(content: string | undefined, name: string | undefined): Attachment | undefined;
|
|
180
180
|
};
|
|
181
181
|
|
|
182
182
|
|
|
@@ -211,10 +211,10 @@ export type AttachmentBase = AttachmentBase$instance & __AttachmentBase$views;
|
|
|
211
211
|
|
|
212
212
|
export interface AttachmentCollection$instance extends Collection_1<Attachment> {
|
|
213
213
|
add(item: Attachment): void;
|
|
214
|
-
add(value: unknown): int;
|
|
214
|
+
add(value: unknown | undefined): int;
|
|
215
215
|
clear(): void;
|
|
216
216
|
contains(item: Attachment): boolean;
|
|
217
|
-
contains(value: unknown): boolean;
|
|
217
|
+
contains(value: unknown | undefined): boolean;
|
|
218
218
|
copyTo(array: Attachment[], index: int): void;
|
|
219
219
|
copyTo(array: ClrArray, index: int): void;
|
|
220
220
|
dispose(): void;
|
|
@@ -222,9 +222,9 @@ export interface AttachmentCollection$instance extends Collection_1<Attachment>
|
|
|
222
222
|
getEnumerator(): IEnumerator;
|
|
223
223
|
indexOf(item: Attachment): int;
|
|
224
224
|
insert(index: int, item: Attachment): void;
|
|
225
|
-
insert(index: int, value: unknown): void;
|
|
225
|
+
insert(index: int, value: unknown | undefined): void;
|
|
226
226
|
remove(item: Attachment): boolean;
|
|
227
|
-
remove(value: unknown): void;
|
|
227
|
+
remove(value: unknown | undefined): void;
|
|
228
228
|
removeAt(index: int): void;
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -251,20 +251,20 @@ export type AttachmentCollection = AttachmentCollection$instance & __AttachmentC
|
|
|
251
251
|
|
|
252
252
|
|
|
253
253
|
export interface LinkedResource$instance extends AttachmentBase$instance {
|
|
254
|
-
contentLink: Uri;
|
|
254
|
+
contentLink: Uri | undefined;
|
|
255
255
|
dispose(): void;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
export const LinkedResource: {
|
|
260
260
|
new(fileName: string): LinkedResource;
|
|
261
|
-
new(fileName: string, mediaType: string): LinkedResource;
|
|
262
|
-
new(fileName: string, contentType: ContentType): LinkedResource;
|
|
261
|
+
new(fileName: string, mediaType: string | undefined): LinkedResource;
|
|
262
|
+
new(fileName: string, contentType: ContentType | undefined): LinkedResource;
|
|
263
263
|
new(contentStream: Stream): LinkedResource;
|
|
264
|
-
new(contentStream: Stream, mediaType: string): LinkedResource;
|
|
265
|
-
new(contentStream: Stream, contentType: ContentType): LinkedResource;
|
|
266
|
-
createLinkedResourceFromString(content: string, contentType: ContentType): LinkedResource;
|
|
267
|
-
createLinkedResourceFromString(content: string, contentEncoding: Encoding, mediaType: string): LinkedResource;
|
|
264
|
+
new(contentStream: Stream, mediaType: string | undefined): LinkedResource;
|
|
265
|
+
new(contentStream: Stream, contentType: ContentType | undefined): LinkedResource;
|
|
266
|
+
createLinkedResourceFromString(content: string, contentType: ContentType | undefined): LinkedResource;
|
|
267
|
+
createLinkedResourceFromString(content: string, contentEncoding: Encoding | undefined, mediaType: string | undefined): LinkedResource;
|
|
268
268
|
createLinkedResourceFromString(content: string): LinkedResource;
|
|
269
269
|
};
|
|
270
270
|
|
|
@@ -278,10 +278,10 @@ export type LinkedResource = LinkedResource$instance & __LinkedResource$views;
|
|
|
278
278
|
|
|
279
279
|
export interface LinkedResourceCollection$instance extends Collection_1<LinkedResource> {
|
|
280
280
|
add(item: LinkedResource): void;
|
|
281
|
-
add(value: unknown): int;
|
|
281
|
+
add(value: unknown | undefined): int;
|
|
282
282
|
clear(): void;
|
|
283
283
|
contains(item: LinkedResource): boolean;
|
|
284
|
-
contains(value: unknown): boolean;
|
|
284
|
+
contains(value: unknown | undefined): boolean;
|
|
285
285
|
copyTo(array: LinkedResource[], index: int): void;
|
|
286
286
|
copyTo(array: ClrArray, index: int): void;
|
|
287
287
|
dispose(): void;
|
|
@@ -289,9 +289,9 @@ export interface LinkedResourceCollection$instance extends Collection_1<LinkedRe
|
|
|
289
289
|
getEnumerator(): IEnumerator;
|
|
290
290
|
indexOf(item: LinkedResource): int;
|
|
291
291
|
insert(index: int, item: LinkedResource): void;
|
|
292
|
-
insert(index: int, value: unknown): void;
|
|
292
|
+
insert(index: int, value: unknown | undefined): void;
|
|
293
293
|
remove(item: LinkedResource): boolean;
|
|
294
|
-
remove(value: unknown): void;
|
|
294
|
+
remove(value: unknown | undefined): void;
|
|
295
295
|
removeAt(index: int): void;
|
|
296
296
|
}
|
|
297
297
|
|
|
@@ -330,7 +330,7 @@ export interface MailAddress$instance {
|
|
|
330
330
|
|
|
331
331
|
export const MailAddress: {
|
|
332
332
|
new(address: string): MailAddress;
|
|
333
|
-
new(address: string, displayName: string): MailAddress;
|
|
333
|
+
new(address: string, displayName: string | undefined): MailAddress;
|
|
334
334
|
new(address: string, displayName: string, displayNameEncoding: Encoding): MailAddress;
|
|
335
335
|
tryCreate(address: string, result: MailAddress): boolean;
|
|
336
336
|
tryCreate(address: string, displayName: string, result: MailAddress): boolean;
|
|
@@ -342,19 +342,19 @@ export type MailAddress = MailAddress$instance;
|
|
|
342
342
|
|
|
343
343
|
export interface MailAddressCollection$instance extends Collection_1<MailAddress> {
|
|
344
344
|
add(item: MailAddress): void;
|
|
345
|
-
add(value: unknown): int;
|
|
345
|
+
add(value: unknown | undefined): int;
|
|
346
346
|
clear(): void;
|
|
347
347
|
contains(item: MailAddress): boolean;
|
|
348
|
-
contains(value: unknown): boolean;
|
|
348
|
+
contains(value: unknown | undefined): boolean;
|
|
349
349
|
copyTo(array: MailAddress[], index: int): void;
|
|
350
350
|
copyTo(array: ClrArray, index: int): void;
|
|
351
351
|
getEnumerator(): IEnumerator_1<MailAddress>;
|
|
352
352
|
getEnumerator(): IEnumerator;
|
|
353
353
|
indexOf(item: MailAddress): int;
|
|
354
354
|
insert(index: int, item: MailAddress): void;
|
|
355
|
-
insert(index: int, value: unknown): void;
|
|
355
|
+
insert(index: int, value: unknown | undefined): void;
|
|
356
356
|
remove(item: MailAddress): boolean;
|
|
357
|
-
remove(value: unknown): void;
|
|
357
|
+
remove(value: unknown | undefined): void;
|
|
358
358
|
removeAt(index: int): void;
|
|
359
359
|
toString(): string;
|
|
360
360
|
}
|
|
@@ -383,20 +383,20 @@ export interface MailMessage$instance {
|
|
|
383
383
|
readonly attachments: AttachmentCollection;
|
|
384
384
|
readonly bcc: MailAddressCollection;
|
|
385
385
|
body: string;
|
|
386
|
-
bodyEncoding: Encoding;
|
|
386
|
+
bodyEncoding: Encoding | undefined;
|
|
387
387
|
bodyTransferEncoding: TransferEncoding;
|
|
388
388
|
readonly CC: MailAddressCollection;
|
|
389
389
|
deliveryNotificationOptions: DeliveryNotificationOptions;
|
|
390
|
-
from_: MailAddress;
|
|
390
|
+
from_: MailAddress | undefined;
|
|
391
391
|
readonly headers: NameValueCollection;
|
|
392
|
-
headersEncoding: Encoding;
|
|
392
|
+
headersEncoding: Encoding | undefined;
|
|
393
393
|
isBodyHtml: boolean;
|
|
394
394
|
priority: MailPriority;
|
|
395
|
-
replyTo: MailAddress;
|
|
395
|
+
replyTo: MailAddress | undefined;
|
|
396
396
|
readonly replyToList: MailAddressCollection;
|
|
397
|
-
sender: MailAddress;
|
|
397
|
+
sender: MailAddress | undefined;
|
|
398
398
|
subject: string;
|
|
399
|
-
subjectEncoding: Encoding;
|
|
399
|
+
subjectEncoding: Encoding | undefined;
|
|
400
400
|
readonly to: MailAddressCollection;
|
|
401
401
|
dispose(): void;
|
|
402
402
|
}
|
|
@@ -405,7 +405,7 @@ export interface MailMessage$instance {
|
|
|
405
405
|
export const MailMessage: {
|
|
406
406
|
new(): MailMessage;
|
|
407
407
|
new(from_: string, to: string): MailMessage;
|
|
408
|
-
new(from_: string, to: string, subject: string, body: string): MailMessage;
|
|
408
|
+
new(from_: string, to: string, subject: string | undefined, body: string | undefined): MailMessage;
|
|
409
409
|
new(from_: MailAddress, to: MailAddress): MailMessage;
|
|
410
410
|
};
|
|
411
411
|
|
|
@@ -426,29 +426,29 @@ export interface SmtpClient$instance {
|
|
|
426
426
|
deliveryMethod: SmtpDeliveryMethod;
|
|
427
427
|
enableSsl: boolean;
|
|
428
428
|
host: string;
|
|
429
|
-
pickupDirectoryLocation: string;
|
|
429
|
+
pickupDirectoryLocation: string | undefined;
|
|
430
430
|
port: int;
|
|
431
431
|
readonly servicePoint: ServicePoint;
|
|
432
|
-
targetName: string;
|
|
432
|
+
targetName: string | undefined;
|
|
433
433
|
timeout: int;
|
|
434
434
|
useDefaultCredentials: boolean;
|
|
435
435
|
dispose(): void;
|
|
436
|
-
send(from_: string, recipients: string, subject: string, body: string): void;
|
|
437
|
-
send(message: MailMessage): void;
|
|
438
|
-
sendAsync(from_: string, recipients: string, subject: string, body: string, userToken: unknown): void;
|
|
439
|
-
sendAsync(message: MailMessage, userToken: unknown): void;
|
|
436
|
+
send(from_: string | undefined, recipients: string | undefined, subject: string | undefined, body: string | undefined): void;
|
|
437
|
+
send(message: MailMessage | undefined): void;
|
|
438
|
+
sendAsync(from_: string, recipients: string, subject: string | undefined, body: string | undefined, userToken: unknown | undefined): void;
|
|
439
|
+
sendAsync(message: MailMessage | undefined, userToken: unknown | undefined): void;
|
|
440
440
|
sendAsyncCancel(): void;
|
|
441
|
-
sendMailAsync(from_: string, recipients: string, subject: string, body: string): Task;
|
|
442
|
-
sendMailAsync(message: MailMessage): Task;
|
|
443
|
-
sendMailAsync(from_: string, recipients: string, subject: string, body: string, cancellationToken: CancellationToken): Task;
|
|
444
|
-
sendMailAsync(message: MailMessage, cancellationToken: CancellationToken): Task;
|
|
441
|
+
sendMailAsync(from_: string | undefined, recipients: string | undefined, subject: string | undefined, body: string | undefined): Task | undefined;
|
|
442
|
+
sendMailAsync(message: MailMessage | undefined): Task | undefined;
|
|
443
|
+
sendMailAsync(from_: string | undefined, recipients: string | undefined, subject: string | undefined, body: string | undefined, cancellationToken: CancellationToken): Task | undefined;
|
|
444
|
+
sendMailAsync(message: MailMessage | undefined, cancellationToken: CancellationToken): Task | undefined;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
|
|
448
448
|
export const SmtpClient: {
|
|
449
449
|
new(): SmtpClient;
|
|
450
|
-
new(host: string): SmtpClient;
|
|
451
|
-
new(host: string, port: int): SmtpClient;
|
|
450
|
+
new(host: string | undefined): SmtpClient;
|
|
451
|
+
new(host: string | undefined, port: int): SmtpClient;
|
|
452
452
|
};
|
|
453
453
|
|
|
454
454
|
|
|
@@ -463,16 +463,16 @@ export type SmtpClient = SmtpClient$instance & __SmtpClient$views;
|
|
|
463
463
|
|
|
464
464
|
export interface SmtpException$instance extends Exception {
|
|
465
465
|
statusCode: SmtpStatusCode;
|
|
466
|
-
getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
466
|
+
getObjectData(serializationInfo: SerializationInfo | undefined, streamingContext: StreamingContext): void;
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
|
|
470
470
|
export const SmtpException: {
|
|
471
471
|
new(statusCode: SmtpStatusCode): SmtpException;
|
|
472
|
-
new(statusCode: SmtpStatusCode, message: string): SmtpException;
|
|
472
|
+
new(statusCode: SmtpStatusCode, message: string | undefined): SmtpException;
|
|
473
473
|
new(): SmtpException;
|
|
474
|
-
new(message: string): SmtpException;
|
|
475
|
-
new(message: string, innerException: Exception): SmtpException;
|
|
474
|
+
new(message: string | undefined): SmtpException;
|
|
475
|
+
new(message: string | undefined, innerException: Exception | undefined): SmtpException;
|
|
476
476
|
};
|
|
477
477
|
|
|
478
478
|
|
|
@@ -484,18 +484,18 @@ export type SmtpException = SmtpException$instance & __SmtpException$views;
|
|
|
484
484
|
|
|
485
485
|
|
|
486
486
|
export interface SmtpFailedRecipientException$instance extends SmtpException$instance {
|
|
487
|
-
readonly failedRecipient: string;
|
|
488
|
-
getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
487
|
+
readonly failedRecipient: string | undefined;
|
|
488
|
+
getObjectData(serializationInfo: SerializationInfo | undefined, streamingContext: StreamingContext): void;
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
|
|
492
492
|
export const SmtpFailedRecipientException: {
|
|
493
493
|
new(): SmtpFailedRecipientException;
|
|
494
|
-
new(message: string): SmtpFailedRecipientException;
|
|
495
|
-
new(message: string, innerException: Exception): SmtpFailedRecipientException;
|
|
496
|
-
new(statusCode: SmtpStatusCode, failedRecipient: string): SmtpFailedRecipientException;
|
|
497
|
-
new(statusCode: SmtpStatusCode, failedRecipient: string, serverResponse: string): SmtpFailedRecipientException;
|
|
498
|
-
new(message: string, failedRecipient: string, innerException: Exception): SmtpFailedRecipientException;
|
|
494
|
+
new(message: string | undefined): SmtpFailedRecipientException;
|
|
495
|
+
new(message: string | undefined, innerException: Exception | undefined): SmtpFailedRecipientException;
|
|
496
|
+
new(statusCode: SmtpStatusCode, failedRecipient: string | undefined): SmtpFailedRecipientException;
|
|
497
|
+
new(statusCode: SmtpStatusCode, failedRecipient: string | undefined, serverResponse: string | undefined): SmtpFailedRecipientException;
|
|
498
|
+
new(message: string | undefined, failedRecipient: string | undefined, innerException: Exception | undefined): SmtpFailedRecipientException;
|
|
499
499
|
};
|
|
500
500
|
|
|
501
501
|
|
|
@@ -516,7 +516,7 @@ export const SmtpFailedRecipientsException: {
|
|
|
516
516
|
new(): SmtpFailedRecipientsException;
|
|
517
517
|
new(message: string): SmtpFailedRecipientsException;
|
|
518
518
|
new(message: string, innerException: Exception): SmtpFailedRecipientsException;
|
|
519
|
-
new(message: string, innerExceptions: SmtpFailedRecipientException[]): SmtpFailedRecipientsException;
|
|
519
|
+
new(message: string | undefined, innerExceptions: SmtpFailedRecipientException[]): SmtpFailedRecipientsException;
|
|
520
520
|
};
|
|
521
521
|
|
|
522
522
|
|
|
@@ -43,8 +43,8 @@ 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
|
+
boundary: string | undefined;
|
|
47
|
+
charSet: string | undefined;
|
|
48
48
|
mediaType: string;
|
|
49
49
|
name: string;
|
|
50
50
|
readonly parameters: StringDictionary;
|
|
@@ -168,10 +168,10 @@ export enum TcpState {
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
|
|
171
|
-
export type NetworkAddressChangedEventHandler = (sender: unknown, e: EventArgs) => void;
|
|
171
|
+
export type NetworkAddressChangedEventHandler = (sender: unknown | undefined, e: EventArgs) => void;
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
export type NetworkAvailabilityChangedEventHandler = (sender: unknown, e: NetworkAvailabilityEventArgs) => void;
|
|
174
|
+
export type NetworkAvailabilityChangedEventHandler = (sender: unknown | undefined, e: NetworkAvailabilityEventArgs) => void;
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
export type PingCompletedEventHandler = (sender: unknown, e: PingCompletedEventArgs) => void;
|
|
@@ -580,7 +580,7 @@ export interface NetworkChange$instance {
|
|
|
580
580
|
|
|
581
581
|
export const NetworkChange: {
|
|
582
582
|
new(): NetworkChange;
|
|
583
|
-
registerNetworkChange(nc: NetworkChange): void;
|
|
583
|
+
registerNetworkChange(nc: NetworkChange | undefined): void;
|
|
584
584
|
};
|
|
585
585
|
|
|
586
586
|
|
|
@@ -644,8 +644,8 @@ export const PhysicalAddress: {
|
|
|
644
644
|
new(address: byte[]): PhysicalAddress;
|
|
645
645
|
readonly none: PhysicalAddress;
|
|
646
646
|
parse(address: ReadOnlySpan_1<System_Internal.Char>): PhysicalAddress;
|
|
647
|
-
parse(address: string): PhysicalAddress;
|
|
648
|
-
tryParse(address: ReadOnlySpan_1<System_Internal.Char>, value: PhysicalAddress): boolean;
|
|
647
|
+
parse(address: string | undefined): PhysicalAddress;
|
|
648
|
+
tryParse(address: ReadOnlySpan_1<System_Internal.Char>, value: PhysicalAddress | undefined): boolean;
|
|
649
649
|
tryParse(address: string, value: PhysicalAddress): boolean;
|
|
650
650
|
};
|
|
651
651
|
|
|
@@ -660,18 +660,18 @@ export interface Ping$instance extends Component {
|
|
|
660
660
|
send(address: IPAddress, timeout: int): PingReply;
|
|
661
661
|
send(hostNameOrAddress: string, timeout: int, buffer: byte[]): PingReply;
|
|
662
662
|
send(address: IPAddress, timeout: int, buffer: byte[]): PingReply;
|
|
663
|
-
send(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions): PingReply;
|
|
664
|
-
send(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions): PingReply;
|
|
665
|
-
send(address: IPAddress, timeout: TimeSpan, buffer?: byte[], options?: PingOptions): PingReply;
|
|
666
|
-
send(hostNameOrAddress: string, timeout: TimeSpan, buffer?: byte[], options?: PingOptions): PingReply;
|
|
667
|
-
sendAsync(hostNameOrAddress: string, userToken: unknown): void;
|
|
668
|
-
sendAsync(hostNameOrAddress: string, timeout: int, userToken: unknown): void;
|
|
669
|
-
sendAsync(address: IPAddress, userToken: unknown): void;
|
|
670
|
-
sendAsync(address: IPAddress, timeout: int, userToken: unknown): void;
|
|
671
|
-
sendAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], userToken: unknown): void;
|
|
672
|
-
sendAsync(address: IPAddress, timeout: int, buffer: byte[], userToken: unknown): void;
|
|
673
|
-
sendAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions, userToken: unknown): void;
|
|
674
|
-
sendAsync(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions, userToken: unknown): void;
|
|
663
|
+
send(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions | undefined): PingReply;
|
|
664
|
+
send(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions | undefined): PingReply;
|
|
665
|
+
send(address: IPAddress, timeout: TimeSpan, buffer?: byte[] | undefined, options?: PingOptions | undefined): PingReply;
|
|
666
|
+
send(hostNameOrAddress: string, timeout: TimeSpan, buffer?: byte[] | undefined, options?: PingOptions | undefined): PingReply;
|
|
667
|
+
sendAsync(hostNameOrAddress: string, userToken: unknown | undefined): void;
|
|
668
|
+
sendAsync(hostNameOrAddress: string, timeout: int, userToken: unknown | undefined): void;
|
|
669
|
+
sendAsync(address: IPAddress, userToken: unknown | undefined): void;
|
|
670
|
+
sendAsync(address: IPAddress, timeout: int, userToken: unknown | undefined): void;
|
|
671
|
+
sendAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], userToken: unknown | undefined): void;
|
|
672
|
+
sendAsync(address: IPAddress, timeout: int, buffer: byte[], userToken: unknown | undefined): void;
|
|
673
|
+
sendAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions | undefined, userToken: unknown | undefined): void;
|
|
674
|
+
sendAsync(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions | undefined, userToken: unknown | undefined): void;
|
|
675
675
|
sendAsyncCancel(): void;
|
|
676
676
|
sendPingAsync(address: IPAddress): Task_1<PingReply>;
|
|
677
677
|
sendPingAsync(hostNameOrAddress: string): Task_1<PingReply>;
|
|
@@ -679,10 +679,10 @@ export interface Ping$instance extends Component {
|
|
|
679
679
|
sendPingAsync(hostNameOrAddress: string, timeout: int): Task_1<PingReply>;
|
|
680
680
|
sendPingAsync(address: IPAddress, timeout: int, buffer: byte[]): Task_1<PingReply>;
|
|
681
681
|
sendPingAsync(hostNameOrAddress: string, timeout: int, buffer: byte[]): Task_1<PingReply>;
|
|
682
|
-
sendPingAsync(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions): Task_1<PingReply>;
|
|
683
|
-
sendPingAsync(address: IPAddress, timeout: TimeSpan, buffer?: byte[], options?: PingOptions, cancellationToken?: CancellationToken): Task_1<PingReply>;
|
|
684
|
-
sendPingAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions): Task_1<PingReply>;
|
|
685
|
-
sendPingAsync(hostNameOrAddress: string, timeout: TimeSpan, buffer?: byte[], options?: PingOptions, cancellationToken?: CancellationToken): Task_1<PingReply>;
|
|
682
|
+
sendPingAsync(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions | undefined): Task_1<PingReply>;
|
|
683
|
+
sendPingAsync(address: IPAddress, timeout: TimeSpan, buffer?: byte[] | undefined, options?: PingOptions | undefined, cancellationToken?: CancellationToken): Task_1<PingReply>;
|
|
684
|
+
sendPingAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions | undefined): Task_1<PingReply>;
|
|
685
|
+
sendPingAsync(hostNameOrAddress: string, timeout: TimeSpan, buffer?: byte[] | undefined, options?: PingOptions | undefined, cancellationToken?: CancellationToken): Task_1<PingReply>;
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
|
|
@@ -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
|
|
|
@@ -719,8 +719,8 @@ export interface PingException$instance extends InvalidOperationException {
|
|
|
719
719
|
|
|
720
720
|
|
|
721
721
|
export const PingException: {
|
|
722
|
-
new(message: string): PingException;
|
|
723
|
-
new(message: string, innerException: Exception): PingException;
|
|
722
|
+
new(message: string | undefined): PingException;
|
|
723
|
+
new(message: string | undefined, innerException: Exception | undefined): PingException;
|
|
724
724
|
};
|
|
725
725
|
|
|
726
726
|
|
|
@@ -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,7 @@ export interface QuicConnectionOptions$instance {
|
|
|
119
119
|
keepAliveInterval: TimeSpan;
|
|
120
120
|
maxInboundBidirectionalStreams: int;
|
|
121
121
|
maxInboundUnidirectionalStreams: int;
|
|
122
|
-
streamCapacityCallback: Action_2<QuicConnection, QuicStreamCapacityChangedArgs
|
|
122
|
+
streamCapacityCallback: Action_2<QuicConnection, QuicStreamCapacityChangedArgs> | undefined;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
|
|
@@ -229,8 +229,8 @@ export interface QuicStream$instance extends Stream {
|
|
|
229
229
|
readonly writesClosed: Task;
|
|
230
230
|
writeTimeout: int;
|
|
231
231
|
abort(abortDirection: QuicAbortDirection, errorCode: long): void;
|
|
232
|
-
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
233
|
-
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
232
|
+
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
233
|
+
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
|
|
234
234
|
completeWrites(): void;
|
|
235
235
|
dispose(): void;
|
|
236
236
|
disposeAsync(): ValueTask;
|