Optional flags to be used with RaiseEventOptions::setWebFlags() and with various property setters of the MutablePlayer and the MutableRoom class to control the behavior of forwarded HTTP requests.
Please see Webhooks v1.2 for further information.
- See also
- Webhooks v1.2, RaiseEventOptions::setWebFlags(), MutablePlayer, MutableRoom
◆ WebFlags()
Constructor: Creates a new instance with the specified parameters.
- Parameters
-
◆ getFlags()
nByte getFlags |
( |
void |
| ) |
const |
◆ setFlags()
Sets the values of all flags at once.
Internally all boolean flags are encoded as bits into a single byte variable. This byte can be retrieved with getFlags() and set with setFlags().
- Parameters
-
- Returns
- a reference to the instance on which it was called to allow for chaining multiple setter calls
- See also
- getFlags()
◆ getHttpForward()
bool getHttpForward |
( |
void |
| ) |
const |
- Returns
- the currently set value of the httpWebForward flag
- See also
- setHttpForward()
◆ setHttpForward()
WebFlags & setHttpForward |
( |
bool |
httpWebForward | ) |
|
Sets the value of the httpWebForward flag.
- Parameters
-
httpWebForward | true or false |
- Returns
- a reference to the instance on which it was called to allow for chaining multiple setter calls
- See also
- getHttpForward()
◆ getSendAuthCookie()
bool getSendAuthCookie |
( |
void |
| ) |
const |
◆ setSendAuthCookie()
WebFlags & setSendAuthCookie |
( |
bool |
sendAuthCookie | ) |
|
Sets the value of the sendAuthCookie flag.
- Parameters
-
sendAuthCookie | true or false |
- Returns
- a reference to the instance on which it was called to allow for chaining multiple setter calls
- See also
- getSendAuthCookie()
◆ getSendSync()
bool getSendSync |
( |
void |
| ) |
const |
- Returns
- the currently set value of the sendSync flag
- See also
- setSendSync()
◆ setSendSync()
Sets the value of the sendSync flag.
- Parameters
-
- Returns
- a reference to the instance on which it was called to allow for chaining multiple setter calls
- See also
- getSendSync()
◆ getSendState()
bool getSendState |
( |
void |
| ) |
const |
- Returns
- the currently set value of the sendState flag
- See also
- setSendState()
◆ setSendState()
WebFlags & setSendState |
( |
bool |
sendState | ) |
|
Sets the value of the sendState flag.
- Parameters
-
- Returns
- a reference to the instance on which it was called to allow for chaining multiple setter calls
- See also
- getSendState()
◆ toString() [1/3]
- Parameters
-
retStr | reference to a string, to store the return-value in; the information, which is generated by this function, will be attached at the end of any eventually existing previous content of the string |
withTypes | set to true, to include type information in the generated string |
- Returns
- a JString representation of the instance and its contents for debugging purposes.
Implements ToString.
◆ toString() [2/3]
- Parameters
-
retStr | reference to a string, to store the return-value in; the information, which is generated by this function, will be attached at the end of any eventually existing previous content of the string |
withTypes | set to true, to include type information in the generated string |
- Returns
- a JString representation of the instance and its contents for debugging purposes.
◆ toString() [3/3]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters
-
withTypes | set to true, to include type information in the generated string |
- Returns
- a JString representation of the instance and its contents for debugging purposes.
- See also
- JString