Module proxy

Module proxy 

Source
Expand description

Proxy server implementation for x402 payments

This module provides a reverse proxy server that adds x402 payment protection to any existing HTTP service.

Structs§

ProxyConfig
Configuration for the proxy server
ProxyState
Proxy server state

Functions§

create_proxy_server
Create a proxy server with x402 payment protection
create_proxy_server_with_payment
Create a proxy server with x402 payment middleware
create_proxy_server_with_tracing
Create a proxy server with tracing middleware
run_proxy_server
Run a proxy server with the given configuration