Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WebHook.GetPort
Queries listening port for a web hook.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebHook | 11.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "WebHook.GetPort"; WebHook ) More
Parameters
Parameter | Description | Example |
---|---|---|
WebHook | The reference number of the web hook. | $webhook |
Result
Returns number or error.
Description
Queries listening port for a web hook.Port is set when calling WebHook.Listen function.
See also
Release notes
- Version 12.5
- Changed WebHook.Listen to allow passing zero as port number to pick a random port, which you then query via WebHook.GetPort.
Example Databases
Blog Entries
This function is free to use.
Created 13th October 2021, last changed 25th October 2021