Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WebRequest.GetLocalIP
Queries local IP for web hook.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebHook | 11.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "WebRequest.GetLocalIP"; WebRequest ) More
Parameters
Parameter | Description | Example |
---|---|---|
WebRequest | The reference number of the web request. | $WebRequest |
Result
Returns text or error.
Description
Queries local IP for web hook.Should be localhost: 127.0.0.1 for IPv4 or ::1 for IPv6.
Examples
Queries local IP and port:
Set Field [ WebHook::Local IP ; MBS("WebRequest.GetLocalIP"; $WebRequest) ]
Set Field [ WebHook::Local Port ; MBS("WebRequest.GetLocalPort"; $WebRequest) ]
See also
Example Databases
This function is free to use.
Created 13th October 2021, last changed 25th October 2021