$RequesterAddress

$RequesterAddress

给出发起 HTTP 请求初始化当前计算的 IP 地址.

更多信息

  • 如果当前计算不是由 HTTP 请求发起的, $RequesterAddressNone.
  • $RequesterAddress 不仅是为直接网页调用而设置,例如通过 API,还可以被发生在 Wolfram 云平台中的互动会话所使用.

范例

基本范例  (1)

部署一个返回请求者地址的 API 函数:

获取发起该请求的地址:

Wolfram Research (2014),$RequesterAddress,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$RequesterAddress.html.

文本

Wolfram Research (2014),$RequesterAddress,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$RequesterAddress.html.

CMS

Wolfram 语言. 2014. "$RequesterAddress." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/$RequesterAddress.html.

APA

Wolfram 语言. (2014). $RequesterAddress. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/$RequesterAddress.html 年

BibTeX

@misc{reference.wolfram_2024_$requesteraddress, author="Wolfram Research", title="{$RequesterAddress}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/$RequesterAddress.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$requesteraddress, organization={Wolfram Research}, title={$RequesterAddress}, year={2014}, url={https://reference.wolfram.com/language/ref/$RequesterAddress.html}, note=[Accessed: 21-November-2024 ]}