SocketConnection.h 450 B

1234567891011121314151617
  1. // From https://github.com/react-native-webrtc/react-native-webrtc (MIT License)
  2. // SPDX-FileCopyrightText: 2023 React-Native-WebRTC authors
  3. // SPDX-License-Identifier: MIT
  4. #import <Foundation/Foundation.h>
  5. NS_ASSUME_NONNULL_BEGIN
  6. @interface SocketConnection : NSObject
  7. - (instancetype)initWithFilePath:(nonnull NSString *)filePath;
  8. - (void)openWithStreamDelegate:(id<NSStreamDelegate>)streamDelegate;
  9. - (void)close;
  10. @end
  11. NS_ASSUME_NONNULL_END