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

WebRequest.GetState

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

Parameters

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

Result

Returns number or error.

Description

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.GetTag