mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-21 19:04:23 +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
|
|
} |