An open API service indexing awesome lists of open source software.

https://github.com/litert/http-proxy.js

The HTTP proxy protocol library for LiteRT.
https://github.com/litert/http-proxy.js

Last synced: 4 months ago
JSON representation

The HTTP proxy protocol library for LiteRT.

Awesome Lists containing this project

README

          

# LiteRT/Http-Proxy

[![Strict TypeScript Checked](https://badgen.net/badge/TS/Strict "Strict TypeScript Checked")](https://www.typescriptlang.org)
[![npm version](https://img.shields.io/npm/v/@litert/http-proxy.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/http-proxy "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/http-proxy.svg?maxAge=2592000?style=plastic)](https://github.com/litert/http-proxy.js/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/litert/http-proxy.js.svg)](https://github.com/litert/http-proxy.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/http-proxy.js.svg)](https://github.com/litert/http-proxy.js/releases "Stable Release")

The HTTP proxy protocol library for LiteRT.

> Currently, only client-side CONNECT is supported.

## Installation

```sh
npm install @litert/http-proxy --save
```

## Usage

- [HTTP Demo](./src/examples/test-http.ts)
- [HTTPS Demo](./src/examples/test-https.ts)
- [HTTP2 Demo](./src/examples/test-http2.ts)

## Requirements

- Node.js v14.x (Or newer)
- TypeScript v5.0.x (Or newer)

## License

This library is published under [Apache-2.0](./LICENSE) license.