add/remove inbound/outbound api

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api, backend

Research direction

Start by locating the handler APIs that currently add and remove clients, then trace how they communicate with the Xray core. Define the corresponding inbound and outbound add/remove operations and verify that they work natively without requiring a JSON file on disk.

Written by the indexing model from the issue text.

Description

enhancement question

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
Can we have add/remove inbound/outbound api as well? Seems like add/remove clients are the only apis implemented for handler.

Describe alternatives you've considered
I don't think so.

Additional context
Currently I just call a "xray api" subprocess to do the job. But it requires to create a json file somewhere on disk and it's not a very elegent solution. I rather find a way do it more "natively".

Dominant language
Python
Stars
64
Forks
20
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hiddify/xtlsapi

All issues in hiddify/xtlsapi

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.