Crates.io | clashctl-core |
lib.rs | clashctl-core |
version | 0.4.2 |
source | src |
created_at | 2021-12-06 17:55:18.419727 |
updated_at | 2021-12-16 09:01:57.73608 |
description | Clash RESTful API |
homepage | |
repository | https://github.com/George-Miao/clashctl |
max_upload_size | |
id | 493305 |
size | 30,441 |
Lib for interacting with Clash RESTful API. This crate does not contain binary. For more information, check clashctl, a CLI & TUI tool built with this crate.
Functions of Clash
Function Name | Method | Endpoint |
---|---|---|
get_version |
GET | /logs |
get_traffic |
GET | /traffic |
get_version |
GET | /version |
get_configs |
GET | /config |
reload_configs |
PUT | /config |
TODO | PATCH | /config |
get_proxies |
GET | /proxies |
get_proxy |
GET | /proxies/:name |
set_proxygroup_selected |
PUT | /proxies/:name |
get_proxy_delay |
GET | /proxies/:name/delay |
get_rules |
GET | /rules |
get_connections |
GET | /connections |
close_connections |
DELETE | /connections |
close_one_connection |
DELETE | /connections/:id |
TODO | GET | /providers/proxies |
TODO | GET | /providers/proxies/:name |
TODO | PUT | /providers/proxies/:name |
TODO | GET | /providers/proxies/:name/healthcheck |