Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WebRequest.GetLocalPort

Queries local port number

Component Version macOS Windows Linux Server iOS SDK
WebHook 11.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "WebRequest.GetLocalPort"; WebRequest )   More

Parameters

Parameter Description Example
WebRequest The reference number of the web request. $WebRequest

Result

Returns number or error.

Description

Queries local port number

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


WebRequest.GetLocalIP - WebRequest.GetMode