/**
 * 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.
 *
 * @generated by an internal plugin build system
 */

#ifndef RN_DISABLE_OSS_PLUGIN_HEADER

// OSS-compatibility layer

#import "RCTNetworkPlugins.h"

#import <string_view>

using namespace std::literals;

Class RCTNetworkClassProvider(const char *name)
{

  if (name == "DataRequestHandler"sv) {
    return RCTDataRequestHandlerCls();
  }

  if (name == "FileRequestHandler"sv) {
    return RCTFileRequestHandlerCls();
  }

  if (name == "HTTPRequestHandler"sv) {
    return RCTHTTPRequestHandlerCls();
  }

  if (name == "Networking"sv) {
    return RCTNetworkingCls();
  }

  return nil;
}

#endif // RN_DISABLE_OSS_PLUGIN_HEADER
