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.
Value | Description |
0 | Answer was sent and connection is closed. |
1 | The connection is kept open after receiving a HTTP request and you can send an answer yourself. |
2 | This is a RAW request and the answer was sent. |
3 | The connection is kept open after receiving a RAW request and you can send an answer yourself. |
See also
- WebRequest.GetBody
- WebRequest.GetBodySize
- WebRequest.GetHeaders
- WebRequest.GetHost
- WebRequest.GetSize
- WebRequest.GetSSL
- WebRequest.GetState
- WebRequest.GetURL
- WebRequest.Release
Release notes
- Version 13.0
- Added WebRequest.GetMode function.
Blog Entries
This function checks for a paid license.
Created 2nd December 2022, last changed 2nd December 2022
