mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-22 10:11:26 +00:00
28 lines
552 B
JavaScript
28 lines
552 B
JavaScript
module.exports = {
|
|
shouldUseLocalResponse : function(req){
|
|
},
|
|
|
|
dealLocalResponse : function(req,callback){
|
|
},
|
|
|
|
replaceRequestOption : function(req,option){
|
|
},
|
|
|
|
replaceRequestProtocol:function(req,protocol){
|
|
},
|
|
|
|
replaceResponseStatusCode: function(req,res,statusCode){
|
|
},
|
|
|
|
replaceResponseHeader: function(req,res,header){
|
|
},
|
|
|
|
replaceServerResData: function(req,res,serverResData){
|
|
},
|
|
|
|
pauseBeforeSendingResponse : function(req,res){
|
|
},
|
|
|
|
shouldInterceptHttpsReq :function(req){
|
|
}
|
|
}; |