Skip to content

Add proxy for each modules #148

@Maxou56800

Description

@Maxou56800

Problem

The project connects to multiple APIs:

  • public APIs
  • internal APIs (enterprise network)

A proxy feature already exists, but it is currently applied globally to all API calls.
In some environments (corporate networks, isolated environments, no direct Internet access), this approach lacks flexibility.

Current Limitations

  • No way to define which module or API client uses which proxy
  • Difficult to properly handle:
    • APIs that are only accessible from an internal network
    • APIs that require Internet access through a specific proxy
  • Proxy support is limited to HTTP/HTTPS
  • No SOCKS5 proxy support

Proposed Improvement

Introduce fine-grained proxy configuration, allowing:

  1. Per-module or per-API proxy configuration

    • Each module or API client can define its own proxy behavior
    • Ability to disable proxy usage for specific internal APIs
  2. SOCKS5 proxy support

    • In addition to HTTP and HTTPS proxies
    • Commonly required in corporate or secured environments

Goal

  • Ability to assign different proxy settings per module or API
  • Explicit support for SOCKS5 proxies
  • Backward compatibility with the current global proxy behavior

Benefits

  • Better support for enterprise network constraints
  • Increased deployment flexibility
  • Clear separation between internal and external network traffic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions