Crates.io | idempotent-proxy-types |
lib.rs | idempotent-proxy-types |
version | 1.2.2 |
source | src |
created_at | 2024-05-30 13:07:41.23399 |
updated_at | 2024-10-21 02:59:11.333316 |
description | types of idempotent-proxy |
homepage | |
repository | https://github.com/ldclabs/idempotent-proxy/tree/main/src/idempotent-proxy-types |
max_upload_size | |
id | 1256842 |
size | 10,398 |
Reverse proxy server with build-in idempotency support written in Rust.
The idempotent-proxy is a reverse proxy service written in Rust with built-in idempotency support.
When multiple requests with the same idempotency-key arrive within a specific timeframe, only the first request is forwarded to the target service. The response is cached in Redis, and subsequent requests poll Redis to retrieve and return the first request's response.
This service can be used to proxy HTTPS outcalls for ICP canisters, enabling integration with any Web2 http service. It supports hiding secret information, access control, returning only the necessary headers and, for JSON or CBOR data, allows response filtering based on JSON Mask to return only required fields, thus saving cycles consumption in ICP canisters.
More information: https://github.com/ldclabs/idempotent-proxy
Copyright © 2024 LDC Labs.
ldclabs/idempotent-proxy
is licensed under the MIT License. See LICENSE for the full license text.