Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem