UNPKG

@ohmi/react-native-tcp-socket

Version:

React Native TCP socket API for HarmonyOS with SSL/TLS support

17 lines (14 loc) 332 B
/* * Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved * Use of this source code is governed by a MIT license that can be * found in the LICENSE file. */ export class TcpSocket { private id: number; constructor(id: number) { this.id = id; } getId(): number { return this.id; } }