mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-06-08 02:28:21 +00:00
11 lines
258 B
TypeScript
11 lines
258 B
TypeScript
|
declare interface AnyProxyConfig {
|
||
|
port: number
|
||
|
}
|
||
|
declare interface AnyProxyRule {
|
||
|
summary?: string,
|
||
|
beforeSendRequest?: Function,
|
||
|
beforeSendResponse?: Function,
|
||
|
beforeDealHttpsRequest?: Function,
|
||
|
onError?: Function,
|
||
|
onConnectError?: Function
|
||
|
}
|