Methods
proxy(req, res)
proxy a request downstream
Parameters:
Name | Type | Description |
---|---|---|
req |
Request | drachtio Request object |
res |
Response | drachtio Response object |
shiftTargets(targets) → {Array}
rotate the list of targets so that we'll round robin the requests to them
Parameters:
Name | Type | Description |
---|---|---|
targets |
Array | Array of Fsw |
Returns:
re-ordered array of Fsw to use for the current INVITE
- Type
- Array