BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/React/DevSupport
Run
Logout
Edit File
Size: 2.69 KB
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/React/DevSupport/RCTPackagerConnection.h
Text
Base64
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> #import <React/RCTDefines.h> #if RCT_DEV NS_ASSUME_NONNULL_BEGIN @protocol RCTPackagerClientMethod; @class RCTPackagerClientResponder; typedef uint32_t RCTHandlerToken; typedef void (^RCTNotificationHandler)(NSDictionary<NSString *, id> *); typedef void (^RCTRequestHandler)(NSDictionary<NSString *, id> *, RCTPackagerClientResponder *); typedef void (^RCTConnectedHandler)(void); /** Encapsulates singleton connection to React Native packager. */ @interface RCTPackagerConnection : NSObject + (instancetype)sharedPackagerConnection; /** * Registers a handler for a notification broadcast from the packager. An * example is "reload" - an instruction to reload from the packager. * If multiple notification handlers are registered for the same method, they * will all be invoked sequentially. */ - (RCTHandlerToken)addNotificationHandler:(RCTNotificationHandler)handler queue:(dispatch_queue_t)queue forMethod:(NSString *)method; /** * Registers a handler for a request from the packager. An example is * pokeSamplingProfiler; it asks for profile data from the client. * Only one handler can be registered for a given method; calling this * displaces any previous request handler registered for that method. */ - (RCTHandlerToken)addRequestHandler:(RCTRequestHandler)handler queue:(dispatch_queue_t)queue forMethod:(NSString *)method; /** * Registers a handler that runs at most once, when the connection to the * packager has been established. The handler will be dispatched immediately * if the connection is already established. */ - (RCTHandlerToken)addConnectedHandler:(RCTConnectedHandler)handler queue:(dispatch_queue_t)queue; /** Removes a handler. Silently does nothing if the token is not valid. */ - (void)removeHandler:(RCTHandlerToken)token; /** Disconnects and removes all handlers. */ - (void)stop; /** Reconnect with given packager server. */ - (void)reconnect:(NSString *)packagerServerHostPort; /** * Historically no distinction was made between notification and request * handlers. If you use this method, it will be registered as *both* a * notification handler *and* a request handler. You should migrate to the * new block-based API instead. */ - (void)addHandler:(id<RCTPackagerClientMethod>)handler forMethod:(NSString *)method __deprecated_msg("Use addRequestHandler or addNotificationHandler instead"); @end NS_ASSUME_NONNULL_END #endif
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 15
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
RCTDevLoadingViewProtocol.h
540 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTDevLoadingViewSetEnabled.h
331 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTDevLoadingViewSetEnabled.m
514 B
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorDevServerHelper.h
655 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorDevServerHelper.mm
7.31 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorNetworkHelper.h
953 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorNetworkHelper.mm
4.15 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorUtils.h
773 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorUtils.mm
1.86 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPackagerClient.h
1.05 KB
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPackagerClient.m
1.51 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPackagerConnection.h
2.69 KB
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPackagerConnection.mm
11.39 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPausedInDebuggerOverlayController.h
385 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPausedInDebuggerOverlayController.mm
4.88 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).