Back to Lynx

README

platform/harmony/lynx_services/lynx_http_service/README.md

3.7.0519 B
Original Source

Lynx Http Service

Lynx Http Service for the harmony platform.

Overview

The Lynx Http Service is used to support Fetch API.

Usage

The service is exposed as a singleton instance, LynxHttpService. It is used by the Lynx framework on HarmonyOS to enable network functionalities.

Installation

bash
ohpm install @lynx/lynx_http_service

How to use

You can add dependency in oh-package.json5 like this:

json5
{
  "dependencies": {
    "@lynx/lynx_http_service": "0.0.1-alpha.1",
  }
}