So
$test->local_address('127.1.2.3:45'); ... $test->request ... $test->local_address('127.5.4.3:21'); ... $test->request ...
In reply to Re: Testing Dancer2 - simulating requests from different IP addresses
by beech
in thread [Solved] Testing Dancer2 - simulating requests from different IP addresses
by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |