You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.
I can't seem to get anywhere with the timeout poison:
`var toxy = require('toxy')
var poisons = toxy.poisons
var rules = toxy.rules
// Create a new toxy proxy
const proxy = toxy({
forwardHost: true,
})
// Default server to forward incoming traffic
proxy
.forward('http://httpbin.org')
proxy
.routeAll()
proxy
.all('/*')
.poison(poisons.timeout(5000))
proxy.listen(3000)
console.log('Server listening on port:', 3000)
`
The only result I ever get is "localhost didn’t send any data."
The text was updated successfully, but these errors were encountered: