1/* 2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * @file 18 * @kit NetworkKit 19 */ 20 21import connection from '@ohos.net.connection'; 22import ethernet from '@ohos.net.ethernet'; 23import http from '@ohos.net.http'; 24import mdns from '@ohos.net.mdns'; 25import policy from '@ohos.net.policy'; 26import sharing from '@ohos.net.sharing'; 27import socket from '@ohos.net.socket'; 28import statistics from '@ohos.net.statistics'; 29import vpn from '@ohos.net.vpn'; 30import webSocket from '@ohos.net.webSocket'; 31import vpnExtension from '@ohos.net.vpnExtension'; 32import networkSecurity from '@ohos.net.networkSecurity'; 33import VpnExtensionAbility, { VpnExtensionContext } from '@ohos.app.ability.VpnExtensionAbility'; 34import eap from '@ohos.net.eap'; 35import netFirewall from '@ohos.net.netFirewall'; 36 37export { 38 connection, ethernet, http, mdns, policy, sharing, webSocket, 39 socket, statistics, vpn, vpnExtension, networkSecurity, 40 VpnExtensionAbility, VpnExtensionContext, eap, netFirewall 41}; 42