Skip to content
Jurek Muszyński edited this page Mar 21, 2020 · 3 revisions

bool QSB(const char *param, bool *value)

Description

Scans query string for param and if found, converts it to bool and copies to value. For POST, PUT and DELETE methods it assumes query string is in payload.

The value can be either a number (0/1) or a string: true/false (case-independent) or on/off.

Returns

Returns true if param is present in query string, otherwise false.

Example

Clone this wiki locally