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


Queries the state of the web request.

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


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


Returns number or error.


Queries the state of the web request.
State 0 is freshly allocated, 1 is connection received, 2 is data arrived, 3 is processed.
If you use WebHook.Check, you may only see requests with state 3, but if you use WebHook.List, you may see earlier states like 1 and 2.

See also

Release notes

Blog Entries

This function is free to use.

Created 15th December 2021, last changed 16th January 2022

WebRequest.GetSize - WebRequest.GetURL