Functions | |
| void | WebIoProcessPost (BYTE PageIndex, BYTE *pControl, BYTE *pValueString, DWORD Value) |
| This function processes HTTP post requests. | |
| void | WebIoHTTPExecuteGet (BYTE Index) |
| This function is called if a HTTP GET request is received for one of the project pages. | |
| BYTE | HTTPCheckAuth (BYTE *cUser, BYTE *cPass) |
| The function is called after authentication is entered. | |
| BYTE HTTPCheckAuth | ( | BYTE * | cUser, | |
| BYTE * | cPass | |||
| ) |
The function is called after authentication is entered.
It must check whether the user/password combination is valid.
| cUser | Pointer to the string of the requesting user. | |
| cPass | Pointer to the string of the password of requesting user. |
| 0 | User/password combination is invalid. | |
| Other | User/password combination is valid. |
| void WebIoHTTPExecuteGet | ( | BYTE | Index | ) |
This function is called if a HTTP GET request is received for one of the project pages.
For the IO project this function processes the given index on GPIO configuration sites.
| Index | is the value of a possible given Id parameter in the HTTP GET request. |
| void WebIoProcessPost | ( | BYTE | PageIndex, | |
| BYTE * | pControl, | |||
| BYTE * | pValueString, | |||
| DWORD | Value | |||
| ) |
This function processes HTTP post requests.
| PageIndex | Index of the post request file. | |
| pControl | Pointer to the name of the post control. | |
| pValueString | Pointer to the value string of the post control. | |
| Value | The preprocessed value string as numeric variable. |
1.5.5