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: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  

WebRequest.GetMode

Queries mode of request.

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

Parameters

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

Result

Returns number or error.

Description

Queries mode of request.
Returns the mode of the webhook applied to the request.

ValueDescription
0Answer was sent and connection is closed.
1The connection is kept open after receiving a HTTP request and you can send an answer yourself.
2This is a RAW request and the answer was sent.
3The connection is kept open after receiving a RAW request and you can send an answer yourself.

See also

Release notes

Blog Entries

This function checks for a paid license.

Created 2nd December 2022, last changed 2nd December 2022


WebRequest.GetLocalPort - WebRequest.GetRawData

💬 Ask a question or report a problem


Start Chat