@octane-xplat/macos-renderer 0.13.0 → 0.15.0
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/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,1622 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
|
|
3
|
+
declare const _nw_content_context_default_message: NSObject
|
|
4
|
+
|
|
5
|
+
declare const kNWErrorDomainPOSIX: interop.Pointer
|
|
6
|
+
|
|
7
|
+
declare const nw_browse_result_change_result_removed: number
|
|
8
|
+
|
|
9
|
+
declare const nw_browse_result_change_invalid: number
|
|
10
|
+
|
|
11
|
+
declare const _nw_parameters_configure_protocol_default_configuration: (p1: NSObject) => void
|
|
12
|
+
|
|
13
|
+
declare const _nw_connection_send_idempotent_content: (p1: NSObject) => void
|
|
14
|
+
|
|
15
|
+
declare const nw_browse_result_change_identical: number
|
|
16
|
+
|
|
17
|
+
declare const _nw_content_context_default_stream: NSObject
|
|
18
|
+
|
|
19
|
+
declare const _nw_parameters_configure_protocol_disable: (p1: NSObject) => void
|
|
20
|
+
|
|
21
|
+
declare const kNWErrorDomainDNS: interop.Pointer
|
|
22
|
+
|
|
23
|
+
declare const nw_browse_result_change_interface_added: number
|
|
24
|
+
|
|
25
|
+
declare const _nw_data_transfer_report_all_paths: number
|
|
26
|
+
|
|
27
|
+
declare const nw_browse_result_change_result_added: number
|
|
28
|
+
|
|
29
|
+
declare const _nw_content_context_final_send: NSObject
|
|
30
|
+
|
|
31
|
+
declare const nw_browse_result_change_txt_record_changed: number
|
|
32
|
+
|
|
33
|
+
declare const _nw_privacy_context_default_context: NSObject
|
|
34
|
+
|
|
35
|
+
declare const kNWErrorDomainTLS: interop.Pointer
|
|
36
|
+
|
|
37
|
+
declare const nw_browse_result_change_interface_removed: number
|
|
38
|
+
|
|
39
|
+
declare const nw_ws_opcode_t: {
|
|
40
|
+
nw_ws_opcode_invalid: -1
|
|
41
|
+
nw_ws_opcode_cont: 0
|
|
42
|
+
nw_ws_opcode_text: 1
|
|
43
|
+
nw_ws_opcode_binary: 2
|
|
44
|
+
nw_ws_opcode_close: 8
|
|
45
|
+
nw_ws_opcode_ping: 9
|
|
46
|
+
nw_ws_opcode_pong: 10
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare const nw_connection_group_state_t: {
|
|
50
|
+
nw_connection_group_state_invalid: 0
|
|
51
|
+
nw_connection_group_state_waiting: 1
|
|
52
|
+
nw_connection_group_state_ready: 2
|
|
53
|
+
nw_connection_group_state_failed: 3
|
|
54
|
+
nw_connection_group_state_cancelled: 4
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare const nw_path_status_t: {
|
|
58
|
+
nw_path_status_invalid: 0
|
|
59
|
+
nw_path_status_satisfied: 1
|
|
60
|
+
nw_path_status_unsatisfied: 2
|
|
61
|
+
nw_path_status_satisfiable: 3
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare const nw_ws_response_status_t: {
|
|
65
|
+
nw_ws_response_status_invalid: 0
|
|
66
|
+
nw_ws_response_status_accept: 1
|
|
67
|
+
nw_ws_response_status_reject: 2
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare const nw_listener_state_t: {
|
|
71
|
+
nw_listener_state_invalid: 0
|
|
72
|
+
nw_listener_state_waiting: 1
|
|
73
|
+
nw_listener_state_ready: 2
|
|
74
|
+
nw_listener_state_failed: 3
|
|
75
|
+
nw_listener_state_cancelled: 4
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare const nw_ip_version_t: {
|
|
79
|
+
nw_ip_version_any: 0
|
|
80
|
+
nw_ip_version_4: 4
|
|
81
|
+
nw_ip_version_6: 6
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
declare const nw_report_resolution_protocol_t: {
|
|
85
|
+
nw_report_resolution_protocol_unknown: 0
|
|
86
|
+
nw_report_resolution_protocol_udp: 1
|
|
87
|
+
nw_report_resolution_protocol_tcp: 2
|
|
88
|
+
nw_report_resolution_protocol_tls: 3
|
|
89
|
+
nw_report_resolution_protocol_https: 4
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
declare const nw_ws_close_code_t: {
|
|
93
|
+
nw_ws_close_code_normal_closure: 1000
|
|
94
|
+
nw_ws_close_code_going_away: 1001
|
|
95
|
+
nw_ws_close_code_protocol_error: 1002
|
|
96
|
+
nw_ws_close_code_unsupported_data: 1003
|
|
97
|
+
nw_ws_close_code_no_status_received: 1005
|
|
98
|
+
nw_ws_close_code_abnormal_closure: 1006
|
|
99
|
+
nw_ws_close_code_invalid_frame_payload_data: 1007
|
|
100
|
+
nw_ws_close_code_policy_violation: 1008
|
|
101
|
+
nw_ws_close_code_message_too_big: 1009
|
|
102
|
+
nw_ws_close_code_mandatory_extension: 1010
|
|
103
|
+
nw_ws_close_code_internal_server_error: 1011
|
|
104
|
+
nw_ws_close_code_tls_handshake: 1015
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare const nw_browser_state_t: {
|
|
108
|
+
nw_browser_state_invalid: 0
|
|
109
|
+
nw_browser_state_ready: 1
|
|
110
|
+
nw_browser_state_failed: 2
|
|
111
|
+
nw_browser_state_cancelled: 3
|
|
112
|
+
nw_browser_state_waiting: 4
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
declare const nw_parameters_attribution_t: {
|
|
116
|
+
nw_parameters_attribution_developer: 1
|
|
117
|
+
nw_parameters_attribution_user: 2
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare const nw_interface_radio_type_t: {
|
|
121
|
+
nw_interface_radio_type_unknown: 0
|
|
122
|
+
nw_interface_radio_type_wifi_b: 1
|
|
123
|
+
nw_interface_radio_type_wifi_a: 2
|
|
124
|
+
nw_interface_radio_type_wifi_g: 3
|
|
125
|
+
nw_interface_radio_type_wifi_n: 4
|
|
126
|
+
nw_interface_radio_type_wifi_ac: 5
|
|
127
|
+
nw_interface_radio_type_wifi_ax: 6
|
|
128
|
+
nw_interface_radio_type_cell_lte: 128
|
|
129
|
+
nw_interface_radio_type_cell_endc_sub6: 129
|
|
130
|
+
nw_interface_radio_type_cell_endc_mmw: 130
|
|
131
|
+
nw_interface_radio_type_cell_nr_sa_sub6: 131
|
|
132
|
+
nw_interface_radio_type_cell_nr_sa_mmw: 132
|
|
133
|
+
nw_interface_radio_type_cell_wcdma: 133
|
|
134
|
+
nw_interface_radio_type_cell_gsm: 134
|
|
135
|
+
nw_interface_radio_type_cell_cdma: 135
|
|
136
|
+
nw_interface_radio_type_cell_evdo: 136
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
declare const nw_interface_type_t: {
|
|
140
|
+
nw_interface_type_other: 0
|
|
141
|
+
nw_interface_type_wifi: 1
|
|
142
|
+
nw_interface_type_cellular: 2
|
|
143
|
+
nw_interface_type_wired: 3
|
|
144
|
+
nw_interface_type_loopback: 4
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
declare const nw_txt_record_find_key_t: {
|
|
148
|
+
nw_txt_record_find_key_invalid: 0
|
|
149
|
+
nw_txt_record_find_key_not_present: 1
|
|
150
|
+
nw_txt_record_find_key_no_value: 2
|
|
151
|
+
nw_txt_record_find_key_empty_value: 3
|
|
152
|
+
nw_txt_record_find_key_non_empty_value: 4
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
declare const nw_report_resolution_source_t: {
|
|
156
|
+
nw_report_resolution_source_query: 1
|
|
157
|
+
nw_report_resolution_source_cache: 2
|
|
158
|
+
nw_report_resolution_source_expired_cache: 3
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
declare const nw_ip_local_address_preference_t: {
|
|
162
|
+
nw_ip_local_address_preference_default: 0
|
|
163
|
+
nw_ip_local_address_preference_temporary: 1
|
|
164
|
+
nw_ip_local_address_preference_stable: 2
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
declare const nw_link_quality_t: {
|
|
168
|
+
nw_link_quality_unknown: 0
|
|
169
|
+
nw_link_quality_minimal: 10
|
|
170
|
+
nw_link_quality_moderate: 20
|
|
171
|
+
nw_link_quality_good: 30
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
declare const nw_connection_state_t: {
|
|
175
|
+
nw_connection_state_invalid: 0
|
|
176
|
+
nw_connection_state_waiting: 1
|
|
177
|
+
nw_connection_state_preparing: 2
|
|
178
|
+
nw_connection_state_ready: 3
|
|
179
|
+
nw_connection_state_failed: 4
|
|
180
|
+
nw_connection_state_cancelled: 5
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
declare const nw_parameters_expired_dns_behavior_t: {
|
|
184
|
+
nw_parameters_expired_dns_behavior_default: 0
|
|
185
|
+
nw_parameters_expired_dns_behavior_allow: 1
|
|
186
|
+
nw_parameters_expired_dns_behavior_prohibit: 2
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
declare const nw_ip_ecn_flag_t: {
|
|
190
|
+
nw_ip_ecn_flag_non_ect: 0
|
|
191
|
+
nw_ip_ecn_flag_ect_0: 2
|
|
192
|
+
nw_ip_ecn_flag_ect_1: 1
|
|
193
|
+
nw_ip_ecn_flag_ce: 3
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
declare const nw_ws_version_t: {
|
|
197
|
+
nw_ws_version_invalid: 0
|
|
198
|
+
nw_ws_version_13: 1
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
declare const nw_path_unsatisfied_reason_t: {
|
|
202
|
+
nw_path_unsatisfied_reason_not_available: 0
|
|
203
|
+
nw_path_unsatisfied_reason_cellular_denied: 1
|
|
204
|
+
nw_path_unsatisfied_reason_wifi_denied: 2
|
|
205
|
+
nw_path_unsatisfied_reason_local_network_denied: 3
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
declare const nw_multipath_service_t: {
|
|
209
|
+
nw_multipath_service_disabled: 0
|
|
210
|
+
nw_multipath_service_handover: 1
|
|
211
|
+
nw_multipath_service_interactive: 2
|
|
212
|
+
nw_multipath_service_aggregate: 3
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
declare const nw_data_transfer_report_state_t: {
|
|
216
|
+
nw_data_transfer_report_state_collecting: 1
|
|
217
|
+
nw_data_transfer_report_state_collected: 2
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
declare const nw_endpoint_type_t: {
|
|
221
|
+
nw_endpoint_type_invalid: 0
|
|
222
|
+
nw_endpoint_type_address: 1
|
|
223
|
+
nw_endpoint_type_host: 2
|
|
224
|
+
nw_endpoint_type_bonjour_service: 3
|
|
225
|
+
nw_endpoint_type_url: 4
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
declare const nw_quic_stream_type_t: {
|
|
229
|
+
nw_quic_stream_type_unknown: 0
|
|
230
|
+
nw_quic_stream_type_bidirectional: 1
|
|
231
|
+
nw_quic_stream_type_unidirectional: 2
|
|
232
|
+
nw_quic_stream_type_datagram: 3
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare const nw_ethernet_channel_state_t: {
|
|
236
|
+
nw_ethernet_channel_state_invalid: 0
|
|
237
|
+
nw_ethernet_channel_state_waiting: 1
|
|
238
|
+
nw_ethernet_channel_state_preparing: 2
|
|
239
|
+
nw_ethernet_channel_state_ready: 3
|
|
240
|
+
nw_ethernet_channel_state_failed: 4
|
|
241
|
+
nw_ethernet_channel_state_cancelled: 5
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
declare const nw_multipath_version_t: {
|
|
245
|
+
nw_multipath_version_unspecified: -1
|
|
246
|
+
nw_multipath_version_0: 0
|
|
247
|
+
nw_multipath_version_1: 1
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
declare const nw_framer_start_result_t: {
|
|
251
|
+
nw_framer_start_result_ready: 1
|
|
252
|
+
nw_framer_start_result_will_mark_ready: 2
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
declare const nw_service_class_t: {
|
|
256
|
+
nw_service_class_best_effort: 0
|
|
257
|
+
nw_service_class_background: 1
|
|
258
|
+
nw_service_class_interactive_video: 2
|
|
259
|
+
nw_service_class_interactive_voice: 3
|
|
260
|
+
nw_service_class_responsive_data: 4
|
|
261
|
+
nw_service_class_signaling: 5
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
declare const nw_error_domain_t: {
|
|
265
|
+
nw_error_domain_invalid: 0
|
|
266
|
+
nw_error_domain_posix: 1
|
|
267
|
+
nw_error_domain_dns: 2
|
|
268
|
+
nw_error_domain_tls: 3
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
declare function nw_retain(obj: interop.PointerConvertible): interop.Pointer
|
|
272
|
+
|
|
273
|
+
declare function nw_release(obj: interop.PointerConvertible): void
|
|
274
|
+
|
|
275
|
+
declare function nw_txt_record_create_with_bytes(
|
|
276
|
+
txt_bytes: interop.PointerConvertible,
|
|
277
|
+
txt_len: number,
|
|
278
|
+
): NSObject
|
|
279
|
+
|
|
280
|
+
declare function nw_txt_record_create_dictionary(): NSObject
|
|
281
|
+
|
|
282
|
+
declare function nw_txt_record_copy(txt_record: NSObject): NSObject
|
|
283
|
+
|
|
284
|
+
declare function nw_txt_record_find_key(
|
|
285
|
+
txt_record: NSObject,
|
|
286
|
+
key: string,
|
|
287
|
+
): interop.Enum<typeof nw_txt_record_find_key_t>
|
|
288
|
+
|
|
289
|
+
declare function nw_txt_record_access_key(
|
|
290
|
+
txt_record: NSObject,
|
|
291
|
+
key: string,
|
|
292
|
+
access_value: (
|
|
293
|
+
p1: string,
|
|
294
|
+
p2: interop.Enum<typeof nw_txt_record_find_key_t>,
|
|
295
|
+
p3: interop.PointerConvertible,
|
|
296
|
+
p4: number,
|
|
297
|
+
) => boolean,
|
|
298
|
+
): boolean
|
|
299
|
+
|
|
300
|
+
declare function nw_txt_record_set_key(
|
|
301
|
+
txt_record: NSObject,
|
|
302
|
+
key: string,
|
|
303
|
+
value: interop.PointerConvertible,
|
|
304
|
+
value_len: number,
|
|
305
|
+
): boolean
|
|
306
|
+
|
|
307
|
+
declare function nw_txt_record_remove_key(txt_record: NSObject, key: string): boolean
|
|
308
|
+
|
|
309
|
+
declare function nw_txt_record_get_key_count(txt_record: NSObject): number
|
|
310
|
+
|
|
311
|
+
declare function nw_txt_record_access_bytes(
|
|
312
|
+
txt_record: NSObject,
|
|
313
|
+
access_bytes: (p1: interop.PointerConvertible, p2: number) => boolean,
|
|
314
|
+
): boolean
|
|
315
|
+
|
|
316
|
+
declare function nw_txt_record_apply(
|
|
317
|
+
txt_record: NSObject,
|
|
318
|
+
applier: (
|
|
319
|
+
p1: string,
|
|
320
|
+
p2: interop.Enum<typeof nw_txt_record_find_key_t>,
|
|
321
|
+
p3: interop.PointerConvertible,
|
|
322
|
+
p4: number,
|
|
323
|
+
) => boolean,
|
|
324
|
+
): boolean
|
|
325
|
+
|
|
326
|
+
declare function nw_txt_record_is_equal(left: NSObject, right: NSObject): boolean
|
|
327
|
+
|
|
328
|
+
declare function nw_txt_record_is_dictionary(txt_record: NSObject): boolean
|
|
329
|
+
|
|
330
|
+
declare function nw_advertise_descriptor_create_bonjour_service(
|
|
331
|
+
name: string,
|
|
332
|
+
type: string,
|
|
333
|
+
domain: string,
|
|
334
|
+
): NSObject
|
|
335
|
+
|
|
336
|
+
declare function nw_advertise_descriptor_set_txt_record(
|
|
337
|
+
advertise_descriptor: NSObject,
|
|
338
|
+
txt_record: interop.PointerConvertible,
|
|
339
|
+
txt_length: number,
|
|
340
|
+
): void
|
|
341
|
+
|
|
342
|
+
declare function nw_advertise_descriptor_set_no_auto_rename(
|
|
343
|
+
advertise_descriptor: NSObject,
|
|
344
|
+
no_auto_rename: boolean,
|
|
345
|
+
): void
|
|
346
|
+
|
|
347
|
+
declare function nw_advertise_descriptor_get_no_auto_rename(advertise_descriptor: NSObject): boolean
|
|
348
|
+
|
|
349
|
+
declare function nw_advertise_descriptor_set_txt_record_object(
|
|
350
|
+
advertise_descriptor: NSObject,
|
|
351
|
+
txt_record: NSObject,
|
|
352
|
+
): void
|
|
353
|
+
|
|
354
|
+
declare function nw_advertise_descriptor_copy_txt_record_object(
|
|
355
|
+
advertise_descriptor: NSObject,
|
|
356
|
+
): NSObject
|
|
357
|
+
|
|
358
|
+
declare function nw_protocol_definition_is_equal(
|
|
359
|
+
definition1: NSObject,
|
|
360
|
+
definition2: NSObject,
|
|
361
|
+
): boolean
|
|
362
|
+
|
|
363
|
+
declare function nw_protocol_options_copy_definition(options: NSObject): NSObject
|
|
364
|
+
|
|
365
|
+
declare function nw_protocol_metadata_copy_definition(metadata: NSObject): NSObject
|
|
366
|
+
|
|
367
|
+
declare function nw_interface_get_type(
|
|
368
|
+
interface: NSObject,
|
|
369
|
+
): interop.Enum<typeof nw_interface_type_t>
|
|
370
|
+
|
|
371
|
+
declare function nw_interface_get_name(interface: NSObject): string
|
|
372
|
+
|
|
373
|
+
declare function nw_interface_get_index(interface: NSObject): number
|
|
374
|
+
|
|
375
|
+
declare function nw_endpoint_get_type(endpoint: NSObject): interop.Enum<typeof nw_endpoint_type_t>
|
|
376
|
+
|
|
377
|
+
declare function nw_endpoint_create_host(hostname: string, port: string): NSObject
|
|
378
|
+
|
|
379
|
+
declare function nw_endpoint_get_hostname(endpoint: NSObject): string
|
|
380
|
+
|
|
381
|
+
declare function nw_endpoint_copy_port_string(endpoint: NSObject): string
|
|
382
|
+
|
|
383
|
+
declare function nw_endpoint_get_port(endpoint: NSObject): number
|
|
384
|
+
|
|
385
|
+
declare function nw_endpoint_create_address(address: interop.PointerConvertible): NSObject
|
|
386
|
+
|
|
387
|
+
declare function nw_endpoint_copy_address_string(endpoint: NSObject): string
|
|
388
|
+
|
|
389
|
+
declare function nw_endpoint_get_address(endpoint: NSObject): interop.Pointer
|
|
390
|
+
|
|
391
|
+
declare function nw_endpoint_create_bonjour_service(
|
|
392
|
+
name: string,
|
|
393
|
+
type: string,
|
|
394
|
+
domain: string,
|
|
395
|
+
): NSObject
|
|
396
|
+
|
|
397
|
+
declare function nw_endpoint_get_bonjour_service_name(endpoint: NSObject): string
|
|
398
|
+
|
|
399
|
+
declare function nw_endpoint_get_bonjour_service_type(endpoint: NSObject): string
|
|
400
|
+
|
|
401
|
+
declare function nw_endpoint_get_bonjour_service_domain(endpoint: NSObject): string
|
|
402
|
+
|
|
403
|
+
declare function nw_endpoint_create_url(url: string): NSObject
|
|
404
|
+
|
|
405
|
+
declare function nw_endpoint_get_url(endpoint: NSObject): string
|
|
406
|
+
|
|
407
|
+
declare function nw_resolver_config_create_https(url_endpoint: NSObject): NSObject
|
|
408
|
+
|
|
409
|
+
declare function nw_resolver_config_create_tls(server_endpoint: NSObject): NSObject
|
|
410
|
+
|
|
411
|
+
declare function nw_resolver_config_add_server_address(
|
|
412
|
+
config: NSObject,
|
|
413
|
+
server_address: NSObject,
|
|
414
|
+
): void
|
|
415
|
+
|
|
416
|
+
declare function nw_privacy_context_create(description: string): NSObject
|
|
417
|
+
|
|
418
|
+
declare function nw_privacy_context_flush_cache(privacy_context: NSObject): void
|
|
419
|
+
|
|
420
|
+
declare function nw_privacy_context_disable_logging(privacy_context: NSObject): void
|
|
421
|
+
|
|
422
|
+
declare function nw_privacy_context_require_encrypted_name_resolution(
|
|
423
|
+
privacy_context: NSObject,
|
|
424
|
+
require_encrypted_name_resolution: boolean,
|
|
425
|
+
fallback_resolver_config: NSObject,
|
|
426
|
+
): void
|
|
427
|
+
|
|
428
|
+
declare function nw_parameters_create_secure_tcp(
|
|
429
|
+
configure_tls: (p1: NSObject) => void,
|
|
430
|
+
configure_tcp: (p1: NSObject) => void,
|
|
431
|
+
): NSObject
|
|
432
|
+
|
|
433
|
+
declare function nw_parameters_create_secure_udp(
|
|
434
|
+
configure_dtls: (p1: NSObject) => void,
|
|
435
|
+
configure_udp: (p1: NSObject) => void,
|
|
436
|
+
): NSObject
|
|
437
|
+
|
|
438
|
+
declare function nw_parameters_create_custom_ip(
|
|
439
|
+
custom_ip_protocol_number: number,
|
|
440
|
+
configure_ip: (p1: NSObject) => void,
|
|
441
|
+
): NSObject
|
|
442
|
+
|
|
443
|
+
declare function nw_parameters_create(): NSObject
|
|
444
|
+
|
|
445
|
+
declare function nw_parameters_copy(parameters: NSObject): NSObject
|
|
446
|
+
|
|
447
|
+
declare function nw_parameters_set_privacy_context(
|
|
448
|
+
parameters: NSObject,
|
|
449
|
+
privacy_context: NSObject,
|
|
450
|
+
): void
|
|
451
|
+
|
|
452
|
+
declare function nw_parameters_require_interface(parameters: NSObject, interface: NSObject): void
|
|
453
|
+
|
|
454
|
+
declare function nw_parameters_copy_required_interface(parameters: NSObject): NSObject
|
|
455
|
+
|
|
456
|
+
declare function nw_parameters_prohibit_interface(parameters: NSObject, interface: NSObject): void
|
|
457
|
+
|
|
458
|
+
declare function nw_parameters_clear_prohibited_interfaces(parameters: NSObject): void
|
|
459
|
+
|
|
460
|
+
declare function nw_parameters_iterate_prohibited_interfaces(
|
|
461
|
+
parameters: NSObject,
|
|
462
|
+
iterate_block: (p1: NSObject) => boolean,
|
|
463
|
+
): void
|
|
464
|
+
|
|
465
|
+
declare function nw_parameters_set_required_interface_type(
|
|
466
|
+
parameters: NSObject,
|
|
467
|
+
interface_type: interop.Enum<typeof nw_interface_type_t>,
|
|
468
|
+
): void
|
|
469
|
+
|
|
470
|
+
declare function nw_parameters_get_required_interface_type(
|
|
471
|
+
parameters: NSObject,
|
|
472
|
+
): interop.Enum<typeof nw_interface_type_t>
|
|
473
|
+
|
|
474
|
+
declare function nw_parameters_prohibit_interface_type(
|
|
475
|
+
parameters: NSObject,
|
|
476
|
+
interface_type: interop.Enum<typeof nw_interface_type_t>,
|
|
477
|
+
): void
|
|
478
|
+
|
|
479
|
+
declare function nw_parameters_clear_prohibited_interface_types(parameters: NSObject): void
|
|
480
|
+
|
|
481
|
+
declare function nw_parameters_iterate_prohibited_interface_types(
|
|
482
|
+
parameters: NSObject,
|
|
483
|
+
iterate_block: (p1: interop.Enum<typeof nw_interface_type_t>) => boolean,
|
|
484
|
+
): void
|
|
485
|
+
|
|
486
|
+
declare function nw_parameters_set_prohibit_expensive(
|
|
487
|
+
parameters: NSObject,
|
|
488
|
+
prohibit_expensive: boolean,
|
|
489
|
+
): void
|
|
490
|
+
|
|
491
|
+
declare function nw_parameters_get_prohibit_expensive(parameters: NSObject): boolean
|
|
492
|
+
|
|
493
|
+
declare function nw_parameters_set_prohibit_constrained(
|
|
494
|
+
parameters: NSObject,
|
|
495
|
+
prohibit_constrained: boolean,
|
|
496
|
+
): void
|
|
497
|
+
|
|
498
|
+
declare function nw_parameters_get_prohibit_constrained(parameters: NSObject): boolean
|
|
499
|
+
|
|
500
|
+
declare function nw_parameters_set_reuse_local_address(
|
|
501
|
+
parameters: NSObject,
|
|
502
|
+
reuse_local_address: boolean,
|
|
503
|
+
): void
|
|
504
|
+
|
|
505
|
+
declare function nw_parameters_get_reuse_local_address(parameters: NSObject): boolean
|
|
506
|
+
|
|
507
|
+
declare function nw_parameters_set_local_endpoint(
|
|
508
|
+
parameters: NSObject,
|
|
509
|
+
local_endpoint: NSObject,
|
|
510
|
+
): void
|
|
511
|
+
|
|
512
|
+
declare function nw_parameters_copy_local_endpoint(parameters: NSObject): NSObject
|
|
513
|
+
|
|
514
|
+
declare function nw_parameters_set_include_peer_to_peer(
|
|
515
|
+
parameters: NSObject,
|
|
516
|
+
include_peer_to_peer: boolean,
|
|
517
|
+
): void
|
|
518
|
+
|
|
519
|
+
declare function nw_parameters_get_include_peer_to_peer(parameters: NSObject): boolean
|
|
520
|
+
|
|
521
|
+
declare function nw_parameters_set_fast_open_enabled(
|
|
522
|
+
parameters: NSObject,
|
|
523
|
+
fast_open_enabled: boolean,
|
|
524
|
+
): void
|
|
525
|
+
|
|
526
|
+
declare function nw_parameters_get_fast_open_enabled(parameters: NSObject): boolean
|
|
527
|
+
|
|
528
|
+
declare function nw_parameters_set_service_class(
|
|
529
|
+
parameters: NSObject,
|
|
530
|
+
service_class: interop.Enum<typeof nw_service_class_t>,
|
|
531
|
+
): void
|
|
532
|
+
|
|
533
|
+
declare function nw_parameters_get_service_class(
|
|
534
|
+
parameters: NSObject,
|
|
535
|
+
): interop.Enum<typeof nw_service_class_t>
|
|
536
|
+
|
|
537
|
+
declare function nw_parameters_set_multipath_service(
|
|
538
|
+
parameters: NSObject,
|
|
539
|
+
multipath_service: interop.Enum<typeof nw_multipath_service_t>,
|
|
540
|
+
): void
|
|
541
|
+
|
|
542
|
+
declare function nw_parameters_get_multipath_service(
|
|
543
|
+
parameters: NSObject,
|
|
544
|
+
): interop.Enum<typeof nw_multipath_service_t>
|
|
545
|
+
|
|
546
|
+
declare function nw_parameters_copy_default_protocol_stack(parameters: NSObject): NSObject
|
|
547
|
+
|
|
548
|
+
declare function nw_protocol_stack_prepend_application_protocol(
|
|
549
|
+
stack: NSObject,
|
|
550
|
+
protocol: NSObject,
|
|
551
|
+
): void
|
|
552
|
+
|
|
553
|
+
declare function nw_protocol_stack_clear_application_protocols(stack: NSObject): void
|
|
554
|
+
|
|
555
|
+
declare function nw_protocol_stack_iterate_application_protocols(
|
|
556
|
+
stack: NSObject,
|
|
557
|
+
iterate_block: (p1: NSObject) => void,
|
|
558
|
+
): void
|
|
559
|
+
|
|
560
|
+
declare function nw_protocol_stack_copy_transport_protocol(stack: NSObject): NSObject
|
|
561
|
+
|
|
562
|
+
declare function nw_protocol_stack_set_transport_protocol(stack: NSObject, protocol: NSObject): void
|
|
563
|
+
|
|
564
|
+
declare function nw_protocol_stack_copy_internet_protocol(stack: NSObject): NSObject
|
|
565
|
+
|
|
566
|
+
declare function nw_parameters_set_local_only(parameters: NSObject, local_only: boolean): void
|
|
567
|
+
|
|
568
|
+
declare function nw_parameters_get_local_only(parameters: NSObject): boolean
|
|
569
|
+
|
|
570
|
+
declare function nw_parameters_set_prefer_no_proxy(
|
|
571
|
+
parameters: NSObject,
|
|
572
|
+
prefer_no_proxy: boolean,
|
|
573
|
+
): void
|
|
574
|
+
|
|
575
|
+
declare function nw_parameters_get_prefer_no_proxy(parameters: NSObject): boolean
|
|
576
|
+
|
|
577
|
+
declare function nw_parameters_set_expired_dns_behavior(
|
|
578
|
+
parameters: NSObject,
|
|
579
|
+
expired_dns_behavior: interop.Enum<typeof nw_parameters_expired_dns_behavior_t>,
|
|
580
|
+
): void
|
|
581
|
+
|
|
582
|
+
declare function nw_parameters_get_expired_dns_behavior(
|
|
583
|
+
parameters: NSObject,
|
|
584
|
+
): interop.Enum<typeof nw_parameters_expired_dns_behavior_t>
|
|
585
|
+
|
|
586
|
+
declare function nw_browse_descriptor_create_bonjour_service(type: string, domain: string): NSObject
|
|
587
|
+
|
|
588
|
+
declare function nw_browse_descriptor_get_bonjour_service_type(descriptor: NSObject): string
|
|
589
|
+
|
|
590
|
+
declare function nw_browse_descriptor_get_bonjour_service_domain(descriptor: NSObject): string
|
|
591
|
+
|
|
592
|
+
declare function nw_browse_descriptor_set_include_txt_record(
|
|
593
|
+
descriptor: NSObject,
|
|
594
|
+
include_txt_record: boolean,
|
|
595
|
+
): void
|
|
596
|
+
|
|
597
|
+
declare function nw_browse_descriptor_get_include_txt_record(descriptor: NSObject): boolean
|
|
598
|
+
|
|
599
|
+
declare function nw_browse_result_copy_endpoint(result: NSObject): NSObject
|
|
600
|
+
|
|
601
|
+
declare function nw_browse_result_get_changes(old_result: NSObject, new_result: NSObject): number
|
|
602
|
+
|
|
603
|
+
declare function nw_browse_result_get_interfaces_count(result: NSObject): number
|
|
604
|
+
|
|
605
|
+
declare function nw_browse_result_copy_txt_record_object(result: NSObject): NSObject
|
|
606
|
+
|
|
607
|
+
declare function nw_browse_result_enumerate_interfaces(
|
|
608
|
+
result: NSObject,
|
|
609
|
+
enumerator: (p1: NSObject) => boolean,
|
|
610
|
+
): void
|
|
611
|
+
|
|
612
|
+
declare function nw_error_get_error_domain(error: NSObject): interop.Enum<typeof nw_error_domain_t>
|
|
613
|
+
|
|
614
|
+
declare function nw_error_get_error_code(error: NSObject): number
|
|
615
|
+
|
|
616
|
+
declare function nw_error_copy_cf_error(error: NSObject): interop.Object
|
|
617
|
+
|
|
618
|
+
declare function nw_browser_create(descriptor: NSObject, parameters: NSObject): NSObject
|
|
619
|
+
|
|
620
|
+
declare function nw_browser_set_queue(browser: NSObject, queue: NSObject): void
|
|
621
|
+
|
|
622
|
+
declare function nw_browser_set_browse_results_changed_handler(
|
|
623
|
+
browser: NSObject,
|
|
624
|
+
handler: (p1: NSObject, p2: NSObject, p3: boolean) => void,
|
|
625
|
+
): void
|
|
626
|
+
|
|
627
|
+
declare function nw_browser_set_state_changed_handler(
|
|
628
|
+
browser: NSObject,
|
|
629
|
+
state_changed_handler: (p1: interop.Enum<typeof nw_browser_state_t>, p2: NSObject) => void,
|
|
630
|
+
): void
|
|
631
|
+
|
|
632
|
+
declare function nw_browser_start(browser: NSObject): void
|
|
633
|
+
|
|
634
|
+
declare function nw_browser_cancel(browser: NSObject): void
|
|
635
|
+
|
|
636
|
+
declare function nw_browser_copy_parameters(browser: NSObject): NSObject
|
|
637
|
+
|
|
638
|
+
declare function nw_browser_copy_browse_descriptor(browser: NSObject): NSObject
|
|
639
|
+
|
|
640
|
+
declare function nw_path_get_status(path: NSObject): interop.Enum<typeof nw_path_status_t>
|
|
641
|
+
|
|
642
|
+
declare function nw_path_get_unsatisfied_reason(
|
|
643
|
+
path: NSObject,
|
|
644
|
+
): interop.Enum<typeof nw_path_unsatisfied_reason_t>
|
|
645
|
+
|
|
646
|
+
declare function nw_path_enumerate_interfaces(
|
|
647
|
+
path: NSObject,
|
|
648
|
+
enumerate_block: (p1: NSObject) => boolean,
|
|
649
|
+
): void
|
|
650
|
+
|
|
651
|
+
declare function nw_path_is_equal(path: NSObject, other_path: NSObject): boolean
|
|
652
|
+
|
|
653
|
+
declare function nw_path_is_expensive(path: NSObject): boolean
|
|
654
|
+
|
|
655
|
+
declare function nw_path_is_constrained(path: NSObject): boolean
|
|
656
|
+
|
|
657
|
+
declare function nw_path_has_ipv4(path: NSObject): boolean
|
|
658
|
+
|
|
659
|
+
declare function nw_path_has_ipv6(path: NSObject): boolean
|
|
660
|
+
|
|
661
|
+
declare function nw_path_has_dns(path: NSObject): boolean
|
|
662
|
+
|
|
663
|
+
declare function nw_path_uses_interface_type(
|
|
664
|
+
path: NSObject,
|
|
665
|
+
interface_type: interop.Enum<typeof nw_interface_type_t>,
|
|
666
|
+
): boolean
|
|
667
|
+
|
|
668
|
+
declare function nw_path_copy_effective_local_endpoint(path: NSObject): NSObject
|
|
669
|
+
|
|
670
|
+
declare function nw_path_copy_effective_remote_endpoint(path: NSObject): NSObject
|
|
671
|
+
|
|
672
|
+
declare function nw_path_enumerate_gateways(
|
|
673
|
+
path: NSObject,
|
|
674
|
+
enumerate_block: (p1: NSObject) => boolean,
|
|
675
|
+
): void
|
|
676
|
+
|
|
677
|
+
declare function nw_content_context_create(context_identifier: string): NSObject
|
|
678
|
+
|
|
679
|
+
declare function nw_content_context_get_identifier(context: NSObject): string
|
|
680
|
+
|
|
681
|
+
declare function nw_content_context_get_is_final(context: NSObject): boolean
|
|
682
|
+
|
|
683
|
+
declare function nw_content_context_set_is_final(context: NSObject, is_final: boolean): void
|
|
684
|
+
|
|
685
|
+
declare function nw_content_context_get_expiration_milliseconds(context: NSObject): number
|
|
686
|
+
|
|
687
|
+
declare function nw_content_context_set_expiration_milliseconds(
|
|
688
|
+
context: NSObject,
|
|
689
|
+
expiration_milliseconds: number,
|
|
690
|
+
): void
|
|
691
|
+
|
|
692
|
+
declare function nw_content_context_get_relative_priority(context: NSObject): number
|
|
693
|
+
|
|
694
|
+
declare function nw_content_context_set_relative_priority(
|
|
695
|
+
context: NSObject,
|
|
696
|
+
relative_priority: number,
|
|
697
|
+
): void
|
|
698
|
+
|
|
699
|
+
declare function nw_content_context_set_antecedent(
|
|
700
|
+
context: NSObject,
|
|
701
|
+
antecedent_context: NSObject,
|
|
702
|
+
): void
|
|
703
|
+
|
|
704
|
+
declare function nw_content_context_copy_antecedent(context: NSObject): NSObject
|
|
705
|
+
|
|
706
|
+
declare function nw_content_context_set_metadata_for_protocol(
|
|
707
|
+
context: NSObject,
|
|
708
|
+
protocol_metadata: NSObject,
|
|
709
|
+
): void
|
|
710
|
+
|
|
711
|
+
declare function nw_content_context_copy_protocol_metadata(
|
|
712
|
+
context: NSObject,
|
|
713
|
+
protocol: NSObject,
|
|
714
|
+
): NSObject
|
|
715
|
+
|
|
716
|
+
declare function nw_content_context_foreach_protocol_metadata(
|
|
717
|
+
context: NSObject,
|
|
718
|
+
foreach_block: (p1: NSObject, p2: NSObject) => void,
|
|
719
|
+
): void
|
|
720
|
+
|
|
721
|
+
declare function nw_connection_create(endpoint: NSObject, parameters: NSObject): NSObject
|
|
722
|
+
|
|
723
|
+
declare function nw_connection_copy_endpoint(connection: NSObject): NSObject
|
|
724
|
+
|
|
725
|
+
declare function nw_connection_copy_parameters(connection: NSObject): NSObject
|
|
726
|
+
|
|
727
|
+
declare function nw_connection_set_state_changed_handler(
|
|
728
|
+
connection: NSObject,
|
|
729
|
+
handler: (p1: interop.Enum<typeof nw_connection_state_t>, p2: NSObject) => void,
|
|
730
|
+
): void
|
|
731
|
+
|
|
732
|
+
declare function nw_connection_set_viability_changed_handler(
|
|
733
|
+
connection: NSObject,
|
|
734
|
+
handler: (p1: boolean) => void,
|
|
735
|
+
): void
|
|
736
|
+
|
|
737
|
+
declare function nw_connection_set_better_path_available_handler(
|
|
738
|
+
connection: NSObject,
|
|
739
|
+
handler: (p1: boolean) => void,
|
|
740
|
+
): void
|
|
741
|
+
|
|
742
|
+
declare function nw_connection_set_path_changed_handler(
|
|
743
|
+
connection: NSObject,
|
|
744
|
+
handler: (p1: NSObject) => void,
|
|
745
|
+
): void
|
|
746
|
+
|
|
747
|
+
declare function nw_connection_set_queue(connection: NSObject, queue: NSObject): void
|
|
748
|
+
|
|
749
|
+
declare function nw_connection_start(connection: NSObject): void
|
|
750
|
+
|
|
751
|
+
declare function nw_connection_restart(connection: NSObject): void
|
|
752
|
+
|
|
753
|
+
declare function nw_connection_cancel(connection: NSObject): void
|
|
754
|
+
|
|
755
|
+
declare function nw_connection_force_cancel(connection: NSObject): void
|
|
756
|
+
|
|
757
|
+
declare function nw_connection_cancel_current_endpoint(connection: NSObject): void
|
|
758
|
+
|
|
759
|
+
declare function nw_connection_receive(
|
|
760
|
+
connection: NSObject,
|
|
761
|
+
minimum_incomplete_length: number,
|
|
762
|
+
maximum_length: number,
|
|
763
|
+
completion: (p1: NSObject, p2: NSObject, p3: boolean, p4: NSObject) => void,
|
|
764
|
+
): void
|
|
765
|
+
|
|
766
|
+
declare function nw_connection_receive_message(
|
|
767
|
+
connection: NSObject,
|
|
768
|
+
completion: (p1: NSObject, p2: NSObject, p3: boolean, p4: NSObject) => void,
|
|
769
|
+
): void
|
|
770
|
+
|
|
771
|
+
declare function nw_connection_send(
|
|
772
|
+
connection: NSObject,
|
|
773
|
+
content: NSObject,
|
|
774
|
+
context: NSObject,
|
|
775
|
+
is_complete: boolean,
|
|
776
|
+
completion: (p1: NSObject) => void,
|
|
777
|
+
): void
|
|
778
|
+
|
|
779
|
+
declare function nw_connection_batch(connection: NSObject, batch_block: () => void): void
|
|
780
|
+
|
|
781
|
+
declare function nw_connection_copy_description(connection: NSObject): string
|
|
782
|
+
|
|
783
|
+
declare function nw_connection_copy_current_path(connection: NSObject): NSObject
|
|
784
|
+
|
|
785
|
+
declare function nw_connection_copy_protocol_metadata(
|
|
786
|
+
connection: NSObject,
|
|
787
|
+
definition: NSObject,
|
|
788
|
+
): NSObject
|
|
789
|
+
|
|
790
|
+
declare function nw_connection_get_maximum_datagram_size(connection: NSObject): number
|
|
791
|
+
|
|
792
|
+
declare function nw_group_descriptor_create_multicast(multicast_group: NSObject): NSObject
|
|
793
|
+
|
|
794
|
+
declare function nw_group_descriptor_add_endpoint(descriptor: NSObject, endpoint: NSObject): boolean
|
|
795
|
+
|
|
796
|
+
declare function nw_group_descriptor_enumerate_endpoints(
|
|
797
|
+
descriptor: NSObject,
|
|
798
|
+
enumerate_block: (p1: NSObject) => boolean,
|
|
799
|
+
): void
|
|
800
|
+
|
|
801
|
+
declare function nw_multicast_group_descriptor_set_specific_source(
|
|
802
|
+
multicast_descriptor: NSObject,
|
|
803
|
+
source: NSObject,
|
|
804
|
+
): void
|
|
805
|
+
|
|
806
|
+
declare function nw_multicast_group_descriptor_set_disable_unicast_traffic(
|
|
807
|
+
multicast_descriptor: NSObject,
|
|
808
|
+
disable_unicast_traffic: boolean,
|
|
809
|
+
): void
|
|
810
|
+
|
|
811
|
+
declare function nw_multicast_group_descriptor_get_disable_unicast_traffic(
|
|
812
|
+
multicast_descriptor: NSObject,
|
|
813
|
+
): boolean
|
|
814
|
+
|
|
815
|
+
declare function nw_connection_group_create(
|
|
816
|
+
group_descriptor: NSObject,
|
|
817
|
+
parameters: NSObject,
|
|
818
|
+
): NSObject
|
|
819
|
+
|
|
820
|
+
declare function nw_connection_group_copy_descriptor(group: NSObject): NSObject
|
|
821
|
+
|
|
822
|
+
declare function nw_connection_group_copy_parameters(group: NSObject): NSObject
|
|
823
|
+
|
|
824
|
+
declare function nw_connection_group_set_queue(group: NSObject, queue: NSObject): void
|
|
825
|
+
|
|
826
|
+
declare function nw_connection_group_set_state_changed_handler(
|
|
827
|
+
group: NSObject,
|
|
828
|
+
state_changed_handler: (
|
|
829
|
+
p1: interop.Enum<typeof nw_connection_group_state_t>,
|
|
830
|
+
p2: NSObject,
|
|
831
|
+
) => void,
|
|
832
|
+
): void
|
|
833
|
+
|
|
834
|
+
declare function nw_connection_group_set_receive_handler(
|
|
835
|
+
group: NSObject,
|
|
836
|
+
maximum_message_size: number,
|
|
837
|
+
reject_oversized_messages: boolean,
|
|
838
|
+
receive_handler: (p1: NSObject, p2: NSObject, p3: boolean) => void,
|
|
839
|
+
): void
|
|
840
|
+
|
|
841
|
+
declare function nw_connection_group_start(group: NSObject): void
|
|
842
|
+
|
|
843
|
+
declare function nw_connection_group_cancel(group: NSObject): void
|
|
844
|
+
|
|
845
|
+
declare function nw_connection_group_copy_remote_endpoint_for_message(
|
|
846
|
+
group: NSObject,
|
|
847
|
+
context: NSObject,
|
|
848
|
+
): NSObject
|
|
849
|
+
|
|
850
|
+
declare function nw_connection_group_copy_local_endpoint_for_message(
|
|
851
|
+
group: NSObject,
|
|
852
|
+
context: NSObject,
|
|
853
|
+
): NSObject
|
|
854
|
+
|
|
855
|
+
declare function nw_connection_group_copy_path_for_message(
|
|
856
|
+
group: NSObject,
|
|
857
|
+
context: NSObject,
|
|
858
|
+
): NSObject
|
|
859
|
+
|
|
860
|
+
declare function nw_connection_group_extract_connection_for_message(
|
|
861
|
+
group: NSObject,
|
|
862
|
+
context: NSObject,
|
|
863
|
+
): NSObject
|
|
864
|
+
|
|
865
|
+
declare function nw_connection_group_reply(
|
|
866
|
+
group: NSObject,
|
|
867
|
+
inbound_message: NSObject,
|
|
868
|
+
outbound_message: NSObject,
|
|
869
|
+
content: NSObject,
|
|
870
|
+
): void
|
|
871
|
+
|
|
872
|
+
declare function nw_connection_group_send_message(
|
|
873
|
+
group: NSObject,
|
|
874
|
+
content: NSObject,
|
|
875
|
+
endpoint: NSObject,
|
|
876
|
+
context: NSObject,
|
|
877
|
+
completion: (p1: NSObject) => void,
|
|
878
|
+
): void
|
|
879
|
+
|
|
880
|
+
declare function nw_connection_access_establishment_report(
|
|
881
|
+
connection: NSObject,
|
|
882
|
+
queue: NSObject,
|
|
883
|
+
access_block: (p1: NSObject) => void,
|
|
884
|
+
): void
|
|
885
|
+
|
|
886
|
+
declare function nw_establishment_report_get_duration_milliseconds(report: NSObject): number
|
|
887
|
+
|
|
888
|
+
declare function nw_establishment_report_get_attempt_started_after_milliseconds(
|
|
889
|
+
report: NSObject,
|
|
890
|
+
): number
|
|
891
|
+
|
|
892
|
+
declare function nw_establishment_report_get_previous_attempt_count(report: NSObject): number
|
|
893
|
+
|
|
894
|
+
declare function nw_establishment_report_get_used_proxy(report: NSObject): boolean
|
|
895
|
+
|
|
896
|
+
declare function nw_establishment_report_get_proxy_configured(report: NSObject): boolean
|
|
897
|
+
|
|
898
|
+
declare function nw_establishment_report_copy_proxy_endpoint(report: NSObject): NSObject
|
|
899
|
+
|
|
900
|
+
declare function nw_resolution_report_get_source(
|
|
901
|
+
resolution_report: NSObject,
|
|
902
|
+
): interop.Enum<typeof nw_report_resolution_source_t>
|
|
903
|
+
|
|
904
|
+
declare function nw_resolution_report_get_milliseconds(resolution_report: NSObject): number
|
|
905
|
+
|
|
906
|
+
declare function nw_resolution_report_get_endpoint_count(resolution_report: NSObject): number
|
|
907
|
+
|
|
908
|
+
declare function nw_resolution_report_copy_successful_endpoint(
|
|
909
|
+
resolution_report: NSObject,
|
|
910
|
+
): NSObject
|
|
911
|
+
|
|
912
|
+
declare function nw_resolution_report_copy_preferred_endpoint(resolution_report: NSObject): NSObject
|
|
913
|
+
|
|
914
|
+
declare function nw_resolution_report_get_protocol(
|
|
915
|
+
resolution_report: NSObject,
|
|
916
|
+
): interop.Enum<typeof nw_report_resolution_protocol_t>
|
|
917
|
+
|
|
918
|
+
declare function nw_establishment_report_enumerate_resolutions(
|
|
919
|
+
report: NSObject,
|
|
920
|
+
enumerate_block: (
|
|
921
|
+
p1: interop.Enum<typeof nw_report_resolution_source_t>,
|
|
922
|
+
p2: number,
|
|
923
|
+
p3: number,
|
|
924
|
+
p4: NSObject,
|
|
925
|
+
p5: NSObject,
|
|
926
|
+
) => boolean,
|
|
927
|
+
): void
|
|
928
|
+
|
|
929
|
+
declare function nw_establishment_report_enumerate_resolution_reports(
|
|
930
|
+
report: NSObject,
|
|
931
|
+
enumerate_block: (p1: NSObject) => boolean,
|
|
932
|
+
): void
|
|
933
|
+
|
|
934
|
+
declare function nw_establishment_report_enumerate_protocols(
|
|
935
|
+
report: NSObject,
|
|
936
|
+
enumerate_block: (p1: NSObject, p2: number, p3: number) => boolean,
|
|
937
|
+
): void
|
|
938
|
+
|
|
939
|
+
declare function nw_connection_create_new_data_transfer_report(connection: NSObject): NSObject
|
|
940
|
+
|
|
941
|
+
declare function nw_data_transfer_report_get_state(
|
|
942
|
+
report: NSObject,
|
|
943
|
+
): interop.Enum<typeof nw_data_transfer_report_state_t>
|
|
944
|
+
|
|
945
|
+
declare function nw_data_transfer_report_collect(
|
|
946
|
+
report: NSObject,
|
|
947
|
+
queue: NSObject,
|
|
948
|
+
collect_block: (p1: NSObject) => void,
|
|
949
|
+
): void
|
|
950
|
+
|
|
951
|
+
declare function nw_data_transfer_report_get_duration_milliseconds(report: NSObject): number
|
|
952
|
+
|
|
953
|
+
declare function nw_data_transfer_report_get_path_count(report: NSObject): number
|
|
954
|
+
|
|
955
|
+
declare function nw_data_transfer_report_get_received_ip_packet_count(
|
|
956
|
+
report: NSObject,
|
|
957
|
+
path_index: number,
|
|
958
|
+
): number
|
|
959
|
+
|
|
960
|
+
declare function nw_data_transfer_report_get_sent_ip_packet_count(
|
|
961
|
+
report: NSObject,
|
|
962
|
+
path_index: number,
|
|
963
|
+
): number
|
|
964
|
+
|
|
965
|
+
declare function nw_data_transfer_report_get_received_transport_byte_count(
|
|
966
|
+
report: NSObject,
|
|
967
|
+
path_index: number,
|
|
968
|
+
): number
|
|
969
|
+
|
|
970
|
+
declare function nw_data_transfer_report_get_received_transport_duplicate_byte_count(
|
|
971
|
+
report: NSObject,
|
|
972
|
+
path_index: number,
|
|
973
|
+
): number
|
|
974
|
+
|
|
975
|
+
declare function nw_data_transfer_report_get_received_transport_out_of_order_byte_count(
|
|
976
|
+
report: NSObject,
|
|
977
|
+
path_index: number,
|
|
978
|
+
): number
|
|
979
|
+
|
|
980
|
+
declare function nw_data_transfer_report_get_sent_transport_byte_count(
|
|
981
|
+
report: NSObject,
|
|
982
|
+
path_index: number,
|
|
983
|
+
): number
|
|
984
|
+
|
|
985
|
+
declare function nw_data_transfer_report_get_sent_transport_retransmitted_byte_count(
|
|
986
|
+
report: NSObject,
|
|
987
|
+
path_index: number,
|
|
988
|
+
): number
|
|
989
|
+
|
|
990
|
+
declare function nw_data_transfer_report_get_transport_smoothed_rtt_milliseconds(
|
|
991
|
+
report: NSObject,
|
|
992
|
+
path_index: number,
|
|
993
|
+
): number
|
|
994
|
+
|
|
995
|
+
declare function nw_data_transfer_report_get_transport_minimum_rtt_milliseconds(
|
|
996
|
+
report: NSObject,
|
|
997
|
+
path_index: number,
|
|
998
|
+
): number
|
|
999
|
+
|
|
1000
|
+
declare function nw_data_transfer_report_get_transport_rtt_variance(
|
|
1001
|
+
report: NSObject,
|
|
1002
|
+
path_index: number,
|
|
1003
|
+
): number
|
|
1004
|
+
|
|
1005
|
+
declare function nw_data_transfer_report_get_received_application_byte_count(
|
|
1006
|
+
report: NSObject,
|
|
1007
|
+
path_index: number,
|
|
1008
|
+
): number
|
|
1009
|
+
|
|
1010
|
+
declare function nw_data_transfer_report_get_sent_application_byte_count(
|
|
1011
|
+
report: NSObject,
|
|
1012
|
+
path_index: number,
|
|
1013
|
+
): number
|
|
1014
|
+
|
|
1015
|
+
declare function nw_data_transfer_report_copy_path_interface(
|
|
1016
|
+
report: NSObject,
|
|
1017
|
+
path_index: number,
|
|
1018
|
+
): NSObject
|
|
1019
|
+
|
|
1020
|
+
declare function nw_ethernet_channel_create(ether_type: number, interface: NSObject): NSObject
|
|
1021
|
+
|
|
1022
|
+
declare function nw_ethernet_channel_set_state_changed_handler(
|
|
1023
|
+
ethernet_channel: NSObject,
|
|
1024
|
+
handler: (p1: interop.Enum<typeof nw_ethernet_channel_state_t>, p2: NSObject) => void,
|
|
1025
|
+
): void
|
|
1026
|
+
|
|
1027
|
+
declare function nw_ethernet_channel_set_queue(ethernet_channel: NSObject, queue: NSObject): void
|
|
1028
|
+
|
|
1029
|
+
declare function nw_ethernet_channel_start(ethernet_channel: NSObject): void
|
|
1030
|
+
|
|
1031
|
+
declare function nw_ethernet_channel_cancel(ethernet_channel: NSObject): void
|
|
1032
|
+
|
|
1033
|
+
declare function nw_ethernet_channel_set_receive_handler(
|
|
1034
|
+
ethernet_channel: NSObject,
|
|
1035
|
+
handler: (
|
|
1036
|
+
p1: NSObject,
|
|
1037
|
+
p2: number,
|
|
1038
|
+
p3: interop.PointerConvertible,
|
|
1039
|
+
p4: interop.PointerConvertible,
|
|
1040
|
+
) => void,
|
|
1041
|
+
): void
|
|
1042
|
+
|
|
1043
|
+
declare function nw_ethernet_channel_send(
|
|
1044
|
+
ethernet_channel: NSObject,
|
|
1045
|
+
content: NSObject,
|
|
1046
|
+
vlan_tag: number,
|
|
1047
|
+
remote_address: interop.PointerConvertible,
|
|
1048
|
+
completion: (p1: NSObject) => void,
|
|
1049
|
+
): void
|
|
1050
|
+
|
|
1051
|
+
declare function nw_framer_protocol_create_message(definition: NSObject): NSObject
|
|
1052
|
+
|
|
1053
|
+
declare function nw_protocol_metadata_is_framer_message(metadata: NSObject): boolean
|
|
1054
|
+
|
|
1055
|
+
declare function nw_framer_message_create(framer: NSObject): NSObject
|
|
1056
|
+
|
|
1057
|
+
declare function nw_framer_message_set_value(
|
|
1058
|
+
message: NSObject,
|
|
1059
|
+
key: string,
|
|
1060
|
+
value: interop.PointerConvertible,
|
|
1061
|
+
dispose_value: (p1: interop.PointerConvertible) => void,
|
|
1062
|
+
): void
|
|
1063
|
+
|
|
1064
|
+
declare function nw_framer_message_access_value(
|
|
1065
|
+
message: NSObject,
|
|
1066
|
+
key: string,
|
|
1067
|
+
access_value: (p1: interop.PointerConvertible) => boolean,
|
|
1068
|
+
): boolean
|
|
1069
|
+
|
|
1070
|
+
declare function nw_framer_message_set_object_value(
|
|
1071
|
+
message: NSObject,
|
|
1072
|
+
key: string,
|
|
1073
|
+
value: interop.Object,
|
|
1074
|
+
): void
|
|
1075
|
+
|
|
1076
|
+
declare function nw_framer_message_copy_object_value(message: NSObject, key: string): interop.Object
|
|
1077
|
+
|
|
1078
|
+
declare function nw_framer_create_definition(
|
|
1079
|
+
identifier: string,
|
|
1080
|
+
flags: number,
|
|
1081
|
+
start_handler: (p1: NSObject) => interop.Enum<typeof nw_framer_start_result_t>,
|
|
1082
|
+
): NSObject
|
|
1083
|
+
|
|
1084
|
+
declare function nw_framer_create_options(framer_definition: NSObject): NSObject
|
|
1085
|
+
|
|
1086
|
+
declare function nw_framer_set_input_handler(
|
|
1087
|
+
framer: NSObject,
|
|
1088
|
+
input_handler: (p1: NSObject) => number,
|
|
1089
|
+
): void
|
|
1090
|
+
|
|
1091
|
+
declare function nw_framer_set_output_handler(
|
|
1092
|
+
framer: NSObject,
|
|
1093
|
+
output_handler: (p1: NSObject, p2: NSObject, p3: number, p4: boolean) => void,
|
|
1094
|
+
): void
|
|
1095
|
+
|
|
1096
|
+
declare function nw_framer_set_wakeup_handler(
|
|
1097
|
+
framer: NSObject,
|
|
1098
|
+
wakeup_handler: (p1: NSObject) => void,
|
|
1099
|
+
): void
|
|
1100
|
+
|
|
1101
|
+
declare function nw_framer_set_stop_handler(
|
|
1102
|
+
framer: NSObject,
|
|
1103
|
+
stop_handler: (p1: NSObject) => boolean,
|
|
1104
|
+
): void
|
|
1105
|
+
|
|
1106
|
+
declare function nw_framer_set_cleanup_handler(
|
|
1107
|
+
framer: NSObject,
|
|
1108
|
+
cleanup_handler: (p1: NSObject) => void,
|
|
1109
|
+
): void
|
|
1110
|
+
|
|
1111
|
+
declare function nw_framer_mark_ready(framer: NSObject): void
|
|
1112
|
+
|
|
1113
|
+
declare function nw_framer_prepend_application_protocol(
|
|
1114
|
+
framer: NSObject,
|
|
1115
|
+
protocol_options: NSObject,
|
|
1116
|
+
): boolean
|
|
1117
|
+
|
|
1118
|
+
declare function nw_framer_mark_failed_with_error(framer: NSObject, error_code: number): void
|
|
1119
|
+
|
|
1120
|
+
declare function nw_framer_parse_input(
|
|
1121
|
+
framer: NSObject,
|
|
1122
|
+
minimum_incomplete_length: number,
|
|
1123
|
+
maximum_length: number,
|
|
1124
|
+
temp_buffer: interop.PointerConvertible,
|
|
1125
|
+
parse: (p1: interop.PointerConvertible, p2: number, p3: boolean) => number,
|
|
1126
|
+
): boolean
|
|
1127
|
+
|
|
1128
|
+
declare function nw_framer_deliver_input(
|
|
1129
|
+
framer: NSObject,
|
|
1130
|
+
input_buffer: interop.PointerConvertible,
|
|
1131
|
+
input_length: number,
|
|
1132
|
+
message: NSObject,
|
|
1133
|
+
is_complete: boolean,
|
|
1134
|
+
): void
|
|
1135
|
+
|
|
1136
|
+
declare function nw_framer_deliver_input_no_copy(
|
|
1137
|
+
framer: NSObject,
|
|
1138
|
+
input_length: number,
|
|
1139
|
+
message: NSObject,
|
|
1140
|
+
is_complete: boolean,
|
|
1141
|
+
): boolean
|
|
1142
|
+
|
|
1143
|
+
declare function nw_framer_pass_through_input(framer: NSObject): void
|
|
1144
|
+
|
|
1145
|
+
declare function nw_framer_parse_output(
|
|
1146
|
+
framer: NSObject,
|
|
1147
|
+
minimum_incomplete_length: number,
|
|
1148
|
+
maximum_length: number,
|
|
1149
|
+
temp_buffer: interop.PointerConvertible,
|
|
1150
|
+
parse: (p1: interop.PointerConvertible, p2: number, p3: boolean) => number,
|
|
1151
|
+
): boolean
|
|
1152
|
+
|
|
1153
|
+
declare function nw_framer_write_output(
|
|
1154
|
+
framer: NSObject,
|
|
1155
|
+
output_buffer: interop.PointerConvertible,
|
|
1156
|
+
output_length: number,
|
|
1157
|
+
): void
|
|
1158
|
+
|
|
1159
|
+
declare function nw_framer_write_output_data(framer: NSObject, output_data: NSObject): void
|
|
1160
|
+
|
|
1161
|
+
declare function nw_framer_write_output_no_copy(framer: NSObject, output_length: number): boolean
|
|
1162
|
+
|
|
1163
|
+
declare function nw_framer_pass_through_output(framer: NSObject): void
|
|
1164
|
+
|
|
1165
|
+
declare function nw_framer_schedule_wakeup(framer: NSObject, milliseconds: number): void
|
|
1166
|
+
|
|
1167
|
+
declare function nw_framer_async(framer: NSObject, async_block: () => void): void
|
|
1168
|
+
|
|
1169
|
+
declare function nw_framer_copy_remote_endpoint(framer: NSObject): NSObject
|
|
1170
|
+
|
|
1171
|
+
declare function nw_framer_copy_local_endpoint(framer: NSObject): NSObject
|
|
1172
|
+
|
|
1173
|
+
declare function nw_framer_copy_parameters(framer: NSObject): NSObject
|
|
1174
|
+
|
|
1175
|
+
declare function nw_protocol_copy_ip_definition(): NSObject
|
|
1176
|
+
|
|
1177
|
+
declare function nw_ip_options_set_version(
|
|
1178
|
+
options: NSObject,
|
|
1179
|
+
version: interop.Enum<typeof nw_ip_version_t>,
|
|
1180
|
+
): void
|
|
1181
|
+
|
|
1182
|
+
declare function nw_ip_options_set_hop_limit(options: NSObject, hop_limit: number): void
|
|
1183
|
+
|
|
1184
|
+
declare function nw_ip_options_set_use_minimum_mtu(
|
|
1185
|
+
options: NSObject,
|
|
1186
|
+
use_minimum_mtu: boolean,
|
|
1187
|
+
): void
|
|
1188
|
+
|
|
1189
|
+
declare function nw_ip_options_set_disable_fragmentation(
|
|
1190
|
+
options: NSObject,
|
|
1191
|
+
disable_fragmentation: boolean,
|
|
1192
|
+
): void
|
|
1193
|
+
|
|
1194
|
+
declare function nw_ip_options_set_calculate_receive_time(
|
|
1195
|
+
options: NSObject,
|
|
1196
|
+
calculate_receive_time: boolean,
|
|
1197
|
+
): void
|
|
1198
|
+
|
|
1199
|
+
declare function nw_ip_options_set_local_address_preference(
|
|
1200
|
+
options: NSObject,
|
|
1201
|
+
preference: interop.Enum<typeof nw_ip_local_address_preference_t>,
|
|
1202
|
+
): void
|
|
1203
|
+
|
|
1204
|
+
declare function nw_ip_options_set_disable_multicast_loopback(
|
|
1205
|
+
options: NSObject,
|
|
1206
|
+
disable_multicast_loopback: boolean,
|
|
1207
|
+
): void
|
|
1208
|
+
|
|
1209
|
+
declare function nw_ip_create_metadata(): NSObject
|
|
1210
|
+
|
|
1211
|
+
declare function nw_protocol_metadata_is_ip(metadata: NSObject): boolean
|
|
1212
|
+
|
|
1213
|
+
declare function nw_ip_metadata_set_ecn_flag(
|
|
1214
|
+
metadata: NSObject,
|
|
1215
|
+
ecn_flag: interop.Enum<typeof nw_ip_ecn_flag_t>,
|
|
1216
|
+
): void
|
|
1217
|
+
|
|
1218
|
+
declare function nw_ip_metadata_get_ecn_flag(
|
|
1219
|
+
metadata: NSObject,
|
|
1220
|
+
): interop.Enum<typeof nw_ip_ecn_flag_t>
|
|
1221
|
+
|
|
1222
|
+
declare function nw_ip_metadata_set_service_class(
|
|
1223
|
+
metadata: NSObject,
|
|
1224
|
+
service_class: interop.Enum<typeof nw_service_class_t>,
|
|
1225
|
+
): void
|
|
1226
|
+
|
|
1227
|
+
declare function nw_ip_metadata_get_service_class(
|
|
1228
|
+
metadata: NSObject,
|
|
1229
|
+
): interop.Enum<typeof nw_service_class_t>
|
|
1230
|
+
|
|
1231
|
+
declare function nw_ip_metadata_get_receive_time(metadata: NSObject): number
|
|
1232
|
+
|
|
1233
|
+
declare function nw_listener_create_with_port(port: string, parameters: NSObject): NSObject
|
|
1234
|
+
|
|
1235
|
+
declare function nw_listener_create_with_launchd_key(
|
|
1236
|
+
parameters: NSObject,
|
|
1237
|
+
launchd_key: string,
|
|
1238
|
+
): NSObject
|
|
1239
|
+
|
|
1240
|
+
declare function nw_listener_create(parameters: NSObject): NSObject
|
|
1241
|
+
|
|
1242
|
+
declare function nw_listener_create_with_connection(
|
|
1243
|
+
connection: NSObject,
|
|
1244
|
+
parameters: NSObject,
|
|
1245
|
+
): NSObject
|
|
1246
|
+
|
|
1247
|
+
declare function nw_listener_set_queue(listener: NSObject, queue: NSObject): void
|
|
1248
|
+
|
|
1249
|
+
declare function nw_listener_set_state_changed_handler(
|
|
1250
|
+
listener: NSObject,
|
|
1251
|
+
handler: (p1: interop.Enum<typeof nw_listener_state_t>, p2: NSObject) => void,
|
|
1252
|
+
): void
|
|
1253
|
+
|
|
1254
|
+
declare function nw_listener_set_new_connection_handler(
|
|
1255
|
+
listener: NSObject,
|
|
1256
|
+
handler: (p1: NSObject) => void,
|
|
1257
|
+
): void
|
|
1258
|
+
|
|
1259
|
+
declare function nw_listener_get_new_connection_limit(listener: NSObject): number
|
|
1260
|
+
|
|
1261
|
+
declare function nw_listener_set_new_connection_limit(
|
|
1262
|
+
listener: NSObject,
|
|
1263
|
+
new_connection_limit: number,
|
|
1264
|
+
): void
|
|
1265
|
+
|
|
1266
|
+
declare function nw_listener_set_advertise_descriptor(
|
|
1267
|
+
listener: NSObject,
|
|
1268
|
+
advertise_descriptor: NSObject,
|
|
1269
|
+
): void
|
|
1270
|
+
|
|
1271
|
+
declare function nw_listener_set_advertised_endpoint_changed_handler(
|
|
1272
|
+
listener: NSObject,
|
|
1273
|
+
handler: (p1: NSObject, p2: boolean) => void,
|
|
1274
|
+
): void
|
|
1275
|
+
|
|
1276
|
+
declare function nw_listener_get_port(listener: NSObject): number
|
|
1277
|
+
|
|
1278
|
+
declare function nw_listener_start(listener: NSObject): void
|
|
1279
|
+
|
|
1280
|
+
declare function nw_listener_cancel(listener: NSObject): void
|
|
1281
|
+
|
|
1282
|
+
declare function nw_path_monitor_create(): NSObject
|
|
1283
|
+
|
|
1284
|
+
declare function nw_path_monitor_create_with_type(
|
|
1285
|
+
required_interface_type: interop.Enum<typeof nw_interface_type_t>,
|
|
1286
|
+
): NSObject
|
|
1287
|
+
|
|
1288
|
+
declare function nw_path_monitor_prohibit_interface_type(
|
|
1289
|
+
monitor: NSObject,
|
|
1290
|
+
interface_type: interop.Enum<typeof nw_interface_type_t>,
|
|
1291
|
+
): void
|
|
1292
|
+
|
|
1293
|
+
declare function nw_path_monitor_set_cancel_handler(
|
|
1294
|
+
monitor: NSObject,
|
|
1295
|
+
cancel_handler: () => void,
|
|
1296
|
+
): void
|
|
1297
|
+
|
|
1298
|
+
declare function nw_path_monitor_set_update_handler(
|
|
1299
|
+
monitor: NSObject,
|
|
1300
|
+
update_handler: (p1: NSObject) => void,
|
|
1301
|
+
): void
|
|
1302
|
+
|
|
1303
|
+
declare function nw_path_monitor_set_queue(monitor: NSObject, queue: NSObject): void
|
|
1304
|
+
|
|
1305
|
+
declare function nw_path_monitor_start(monitor: NSObject): void
|
|
1306
|
+
|
|
1307
|
+
declare function nw_path_monitor_cancel(monitor: NSObject): void
|
|
1308
|
+
|
|
1309
|
+
declare function nw_protocol_copy_tcp_definition(): NSObject
|
|
1310
|
+
|
|
1311
|
+
declare function nw_tcp_create_options(): NSObject
|
|
1312
|
+
|
|
1313
|
+
declare function nw_tcp_options_set_no_delay(options: NSObject, no_delay: boolean): void
|
|
1314
|
+
|
|
1315
|
+
declare function nw_tcp_options_set_no_push(options: NSObject, no_push: boolean): void
|
|
1316
|
+
|
|
1317
|
+
declare function nw_tcp_options_set_no_options(options: NSObject, no_options: boolean): void
|
|
1318
|
+
|
|
1319
|
+
declare function nw_tcp_options_set_enable_keepalive(
|
|
1320
|
+
options: NSObject,
|
|
1321
|
+
enable_keepalive: boolean,
|
|
1322
|
+
): void
|
|
1323
|
+
|
|
1324
|
+
declare function nw_tcp_options_set_keepalive_count(
|
|
1325
|
+
options: NSObject,
|
|
1326
|
+
keepalive_count: number,
|
|
1327
|
+
): void
|
|
1328
|
+
|
|
1329
|
+
declare function nw_tcp_options_set_keepalive_idle_time(
|
|
1330
|
+
options: NSObject,
|
|
1331
|
+
keepalive_idle_time: number,
|
|
1332
|
+
): void
|
|
1333
|
+
|
|
1334
|
+
declare function nw_tcp_options_set_keepalive_interval(
|
|
1335
|
+
options: NSObject,
|
|
1336
|
+
keepalive_interval: number,
|
|
1337
|
+
): void
|
|
1338
|
+
|
|
1339
|
+
declare function nw_tcp_options_set_maximum_segment_size(
|
|
1340
|
+
options: NSObject,
|
|
1341
|
+
maximum_segment_size: number,
|
|
1342
|
+
): void
|
|
1343
|
+
|
|
1344
|
+
declare function nw_tcp_options_set_connection_timeout(
|
|
1345
|
+
options: NSObject,
|
|
1346
|
+
connection_timeout: number,
|
|
1347
|
+
): void
|
|
1348
|
+
|
|
1349
|
+
declare function nw_tcp_options_set_persist_timeout(
|
|
1350
|
+
options: NSObject,
|
|
1351
|
+
persist_timeout: number,
|
|
1352
|
+
): void
|
|
1353
|
+
|
|
1354
|
+
declare function nw_tcp_options_set_retransmit_connection_drop_time(
|
|
1355
|
+
options: NSObject,
|
|
1356
|
+
retransmit_connection_drop_time: number,
|
|
1357
|
+
): void
|
|
1358
|
+
|
|
1359
|
+
declare function nw_tcp_options_set_retransmit_fin_drop(
|
|
1360
|
+
options: NSObject,
|
|
1361
|
+
retransmit_fin_drop: boolean,
|
|
1362
|
+
): void
|
|
1363
|
+
|
|
1364
|
+
declare function nw_tcp_options_set_disable_ack_stretching(
|
|
1365
|
+
options: NSObject,
|
|
1366
|
+
disable_ack_stretching: boolean,
|
|
1367
|
+
): void
|
|
1368
|
+
|
|
1369
|
+
declare function nw_tcp_options_set_enable_fast_open(
|
|
1370
|
+
options: NSObject,
|
|
1371
|
+
enable_fast_open: boolean,
|
|
1372
|
+
): void
|
|
1373
|
+
|
|
1374
|
+
declare function nw_tcp_options_set_disable_ecn(options: NSObject, disable_ecn: boolean): void
|
|
1375
|
+
|
|
1376
|
+
declare function nw_protocol_metadata_is_tcp(metadata: NSObject): boolean
|
|
1377
|
+
|
|
1378
|
+
declare function nw_tcp_get_available_receive_buffer(metadata: NSObject): number
|
|
1379
|
+
|
|
1380
|
+
declare function nw_tcp_get_available_send_buffer(metadata: NSObject): number
|
|
1381
|
+
|
|
1382
|
+
declare function nw_protocol_copy_tls_definition(): NSObject
|
|
1383
|
+
|
|
1384
|
+
declare function nw_tls_create_options(): NSObject
|
|
1385
|
+
|
|
1386
|
+
declare function nw_tls_copy_sec_protocol_options(options: NSObject): NSObject
|
|
1387
|
+
|
|
1388
|
+
declare function nw_protocol_metadata_is_tls(metadata: NSObject): boolean
|
|
1389
|
+
|
|
1390
|
+
declare function nw_tls_copy_sec_protocol_metadata(metadata: NSObject): NSObject
|
|
1391
|
+
|
|
1392
|
+
declare function nw_protocol_copy_udp_definition(): NSObject
|
|
1393
|
+
|
|
1394
|
+
declare function nw_udp_create_options(): NSObject
|
|
1395
|
+
|
|
1396
|
+
declare function nw_udp_options_set_prefer_no_checksum(
|
|
1397
|
+
options: NSObject,
|
|
1398
|
+
prefer_no_checksum: boolean,
|
|
1399
|
+
): void
|
|
1400
|
+
|
|
1401
|
+
declare function nw_udp_create_metadata(): NSObject
|
|
1402
|
+
|
|
1403
|
+
declare function nw_protocol_metadata_is_udp(metadata: NSObject): boolean
|
|
1404
|
+
|
|
1405
|
+
declare function nw_protocol_copy_ws_definition(): NSObject
|
|
1406
|
+
|
|
1407
|
+
declare function nw_ws_create_options(version: interop.Enum<typeof nw_ws_version_t>): NSObject
|
|
1408
|
+
|
|
1409
|
+
declare function nw_ws_options_add_additional_header(
|
|
1410
|
+
options: NSObject,
|
|
1411
|
+
name: string,
|
|
1412
|
+
value: string,
|
|
1413
|
+
): void
|
|
1414
|
+
|
|
1415
|
+
declare function nw_ws_options_add_subprotocol(options: NSObject, subprotocol: string): void
|
|
1416
|
+
|
|
1417
|
+
declare function nw_ws_options_set_auto_reply_ping(
|
|
1418
|
+
options: NSObject,
|
|
1419
|
+
auto_reply_ping: boolean,
|
|
1420
|
+
): void
|
|
1421
|
+
|
|
1422
|
+
declare function nw_ws_options_set_skip_handshake(options: NSObject, skip_handshake: boolean): void
|
|
1423
|
+
|
|
1424
|
+
declare function nw_ws_options_set_maximum_message_size(
|
|
1425
|
+
options: NSObject,
|
|
1426
|
+
maximum_message_size: number,
|
|
1427
|
+
): void
|
|
1428
|
+
|
|
1429
|
+
declare function nw_protocol_metadata_is_ws(metadata: NSObject): boolean
|
|
1430
|
+
|
|
1431
|
+
declare function nw_ws_create_metadata(opcode: interop.Enum<typeof nw_ws_opcode_t>): NSObject
|
|
1432
|
+
|
|
1433
|
+
declare function nw_ws_metadata_get_opcode(metadata: NSObject): interop.Enum<typeof nw_ws_opcode_t>
|
|
1434
|
+
|
|
1435
|
+
declare function nw_ws_metadata_set_close_code(
|
|
1436
|
+
metadata: NSObject,
|
|
1437
|
+
close_code: interop.Enum<typeof nw_ws_close_code_t>,
|
|
1438
|
+
): void
|
|
1439
|
+
|
|
1440
|
+
declare function nw_ws_metadata_get_close_code(
|
|
1441
|
+
metadata: NSObject,
|
|
1442
|
+
): interop.Enum<typeof nw_ws_close_code_t>
|
|
1443
|
+
|
|
1444
|
+
declare function nw_ws_metadata_set_pong_handler(
|
|
1445
|
+
metadata: NSObject,
|
|
1446
|
+
client_queue: NSObject,
|
|
1447
|
+
pong_handler: (p1: NSObject) => void,
|
|
1448
|
+
): void
|
|
1449
|
+
|
|
1450
|
+
declare function nw_ws_request_enumerate_subprotocols(
|
|
1451
|
+
request: NSObject,
|
|
1452
|
+
enumerator: (p1: string) => boolean,
|
|
1453
|
+
): boolean
|
|
1454
|
+
|
|
1455
|
+
declare function nw_ws_request_enumerate_additional_headers(
|
|
1456
|
+
request: NSObject,
|
|
1457
|
+
enumerator: (p1: string, p2: string) => boolean,
|
|
1458
|
+
): boolean
|
|
1459
|
+
|
|
1460
|
+
declare function nw_ws_response_create(
|
|
1461
|
+
status: interop.Enum<typeof nw_ws_response_status_t>,
|
|
1462
|
+
selected_subprotocol: string,
|
|
1463
|
+
): NSObject
|
|
1464
|
+
|
|
1465
|
+
declare function nw_ws_response_get_status(
|
|
1466
|
+
response: NSObject,
|
|
1467
|
+
): interop.Enum<typeof nw_ws_response_status_t>
|
|
1468
|
+
|
|
1469
|
+
declare function nw_ws_response_get_selected_subprotocol(response: NSObject): string
|
|
1470
|
+
|
|
1471
|
+
declare function nw_ws_response_add_additional_header(
|
|
1472
|
+
response: NSObject,
|
|
1473
|
+
name: string,
|
|
1474
|
+
value: string,
|
|
1475
|
+
): void
|
|
1476
|
+
|
|
1477
|
+
declare function nw_ws_metadata_copy_server_response(metadata: NSObject): NSObject
|
|
1478
|
+
|
|
1479
|
+
declare function nw_ws_response_enumerate_additional_headers(
|
|
1480
|
+
response: NSObject,
|
|
1481
|
+
enumerator: (p1: string, p2: string) => boolean,
|
|
1482
|
+
): boolean
|
|
1483
|
+
|
|
1484
|
+
declare function nw_ws_options_set_client_request_handler(
|
|
1485
|
+
options: NSObject,
|
|
1486
|
+
client_queue: NSObject,
|
|
1487
|
+
handler: (p1: NSObject) => NSObject,
|
|
1488
|
+
): void
|
|
1489
|
+
|
|
1490
|
+
declare interface OS_nw_protocol_definition extends NSObjectProtocol {}
|
|
1491
|
+
|
|
1492
|
+
declare class OS_nw_protocol_definition extends NativeObject implements OS_nw_protocol_definition {}
|
|
1493
|
+
|
|
1494
|
+
declare interface OS_nw_txt_record extends NSObjectProtocol {}
|
|
1495
|
+
|
|
1496
|
+
declare class OS_nw_txt_record extends NativeObject implements OS_nw_txt_record {}
|
|
1497
|
+
|
|
1498
|
+
declare interface OS_nw_path extends NSObjectProtocol {}
|
|
1499
|
+
|
|
1500
|
+
declare class OS_nw_path extends NativeObject implements OS_nw_path {}
|
|
1501
|
+
|
|
1502
|
+
declare interface OS_nw_browser extends NSObjectProtocol {}
|
|
1503
|
+
|
|
1504
|
+
declare class OS_nw_browser extends NativeObject implements OS_nw_browser {}
|
|
1505
|
+
|
|
1506
|
+
declare interface OS_nw_protocol_stack extends NSObjectProtocol {}
|
|
1507
|
+
|
|
1508
|
+
declare class OS_nw_protocol_stack extends NativeObject implements OS_nw_protocol_stack {}
|
|
1509
|
+
|
|
1510
|
+
declare interface OS_nw_establishment_report extends NSObjectProtocol {}
|
|
1511
|
+
|
|
1512
|
+
declare class OS_nw_establishment_report
|
|
1513
|
+
extends NativeObject
|
|
1514
|
+
implements OS_nw_establishment_report {}
|
|
1515
|
+
|
|
1516
|
+
declare interface OS_nw_listener extends NSObjectProtocol {}
|
|
1517
|
+
|
|
1518
|
+
declare class OS_nw_listener extends NativeObject implements OS_nw_listener {}
|
|
1519
|
+
|
|
1520
|
+
declare interface OS_nw_error extends NSObjectProtocol {}
|
|
1521
|
+
|
|
1522
|
+
declare class OS_nw_error extends NativeObject implements OS_nw_error {}
|
|
1523
|
+
|
|
1524
|
+
declare interface OS_nw_ws_response extends NSObjectProtocol {}
|
|
1525
|
+
|
|
1526
|
+
declare class OS_nw_ws_response extends NativeObject implements OS_nw_ws_response {}
|
|
1527
|
+
|
|
1528
|
+
declare interface OS_nw_resolution_report extends NSObjectProtocol {}
|
|
1529
|
+
|
|
1530
|
+
declare class OS_nw_resolution_report extends NativeObject implements OS_nw_resolution_report {}
|
|
1531
|
+
|
|
1532
|
+
declare interface OS_nw_ws_request extends NSObjectProtocol {}
|
|
1533
|
+
|
|
1534
|
+
declare class OS_nw_ws_request extends NativeObject implements OS_nw_ws_request {}
|
|
1535
|
+
|
|
1536
|
+
declare interface OS_nw_path_monitor extends NSObjectProtocol {}
|
|
1537
|
+
|
|
1538
|
+
declare class OS_nw_path_monitor extends NativeObject implements OS_nw_path_monitor {}
|
|
1539
|
+
|
|
1540
|
+
declare interface OS_nw_group_descriptor extends NSObjectProtocol {}
|
|
1541
|
+
|
|
1542
|
+
declare class OS_nw_group_descriptor extends NativeObject implements OS_nw_group_descriptor {}
|
|
1543
|
+
|
|
1544
|
+
declare interface OS_nw_connection extends NSObjectProtocol {}
|
|
1545
|
+
|
|
1546
|
+
declare class OS_nw_connection extends NativeObject implements OS_nw_connection {}
|
|
1547
|
+
|
|
1548
|
+
declare interface OS_nw_browse_descriptor extends NSObjectProtocol {}
|
|
1549
|
+
|
|
1550
|
+
declare class OS_nw_browse_descriptor extends NativeObject implements OS_nw_browse_descriptor {}
|
|
1551
|
+
|
|
1552
|
+
declare interface OS_nw_parameters extends NSObjectProtocol {}
|
|
1553
|
+
|
|
1554
|
+
declare class OS_nw_parameters extends NativeObject implements OS_nw_parameters {}
|
|
1555
|
+
|
|
1556
|
+
declare interface OS_nw_proxy_config extends NSObjectProtocol {}
|
|
1557
|
+
|
|
1558
|
+
declare class OS_nw_proxy_config extends NativeObject implements OS_nw_proxy_config {}
|
|
1559
|
+
|
|
1560
|
+
declare interface OS_nw_resolver_config extends NSObjectProtocol {}
|
|
1561
|
+
|
|
1562
|
+
declare class OS_nw_resolver_config extends NativeObject implements OS_nw_resolver_config {}
|
|
1563
|
+
|
|
1564
|
+
declare interface OS_nw_endpoint extends NSObjectProtocol {}
|
|
1565
|
+
|
|
1566
|
+
declare class OS_nw_endpoint extends NativeObject implements OS_nw_endpoint {}
|
|
1567
|
+
|
|
1568
|
+
declare interface OS_nw_interface extends NSObjectProtocol {}
|
|
1569
|
+
|
|
1570
|
+
declare class OS_nw_interface extends NativeObject implements OS_nw_interface {}
|
|
1571
|
+
|
|
1572
|
+
declare interface OS_nw_object extends NSObjectProtocol {}
|
|
1573
|
+
|
|
1574
|
+
declare class OS_nw_object extends NativeObject implements OS_nw_object {}
|
|
1575
|
+
|
|
1576
|
+
declare interface OS_nw_browse_result extends NSObjectProtocol {}
|
|
1577
|
+
|
|
1578
|
+
declare class OS_nw_browse_result extends NativeObject implements OS_nw_browse_result {}
|
|
1579
|
+
|
|
1580
|
+
declare interface OS_nw_advertise_descriptor extends NSObjectProtocol {}
|
|
1581
|
+
|
|
1582
|
+
declare class OS_nw_advertise_descriptor
|
|
1583
|
+
extends NativeObject
|
|
1584
|
+
implements OS_nw_advertise_descriptor {}
|
|
1585
|
+
|
|
1586
|
+
declare interface OS_nw_data_transfer_report extends NSObjectProtocol {}
|
|
1587
|
+
|
|
1588
|
+
declare class OS_nw_data_transfer_report
|
|
1589
|
+
extends NativeObject
|
|
1590
|
+
implements OS_nw_data_transfer_report {}
|
|
1591
|
+
|
|
1592
|
+
declare interface OS_nw_protocol_options extends NSObjectProtocol {}
|
|
1593
|
+
|
|
1594
|
+
declare class OS_nw_protocol_options extends NativeObject implements OS_nw_protocol_options {}
|
|
1595
|
+
|
|
1596
|
+
declare interface OS_nw_connection_group extends NSObjectProtocol {}
|
|
1597
|
+
|
|
1598
|
+
declare class OS_nw_connection_group extends NativeObject implements OS_nw_connection_group {}
|
|
1599
|
+
|
|
1600
|
+
declare interface OS_nw_relay_hop extends NSObjectProtocol {}
|
|
1601
|
+
|
|
1602
|
+
declare class OS_nw_relay_hop extends NativeObject implements OS_nw_relay_hop {}
|
|
1603
|
+
|
|
1604
|
+
declare interface OS_nw_ethernet_channel extends NSObjectProtocol {}
|
|
1605
|
+
|
|
1606
|
+
declare class OS_nw_ethernet_channel extends NativeObject implements OS_nw_ethernet_channel {}
|
|
1607
|
+
|
|
1608
|
+
declare interface OS_nw_privacy_context extends NSObjectProtocol {}
|
|
1609
|
+
|
|
1610
|
+
declare class OS_nw_privacy_context extends NativeObject implements OS_nw_privacy_context {}
|
|
1611
|
+
|
|
1612
|
+
declare interface OS_nw_content_context extends NSObjectProtocol {}
|
|
1613
|
+
|
|
1614
|
+
declare class OS_nw_content_context extends NativeObject implements OS_nw_content_context {}
|
|
1615
|
+
|
|
1616
|
+
declare interface OS_nw_protocol_metadata extends NSObjectProtocol {}
|
|
1617
|
+
|
|
1618
|
+
declare class OS_nw_protocol_metadata extends NativeObject implements OS_nw_protocol_metadata {}
|
|
1619
|
+
|
|
1620
|
+
declare interface OS_nw_framer extends NSObjectProtocol {}
|
|
1621
|
+
|
|
1622
|
+
declare class OS_nw_framer extends NativeObject implements OS_nw_framer {}
|