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

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

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


WebRequest.GetLocalPort - WebRequest.GetRawData