postcon/client-ip-extension
最新稳定版本:1.0.1
Composer 安装命令:
composer require postcon/client-ip-extension
包简介
A Behat Extension accessing the client ip address
README 文档
README
This behat extension allows a Context object to access the client's IP address. The IP is aquired by requesting a Url (e.g. https://api.ipify.org/).
# behat.yml default: extensions: Postcon\ClientIpExtension\Extension: url: https://api.ipify.org/
Alternatively, the IP address can be fixed configured:
# behat.yml default: extensions: Postcon\ClientIpExtension\Extension: value: 1.2.3.4
To access the client's IP address, the behat Context class needs to implement Postcon\ClientIpExtension\ClientIpInterface.
统计信息
- 总下载量: 16.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-01