CF_HttpsResult¶
Category: web
GitHub: cute_https.h
Status of a CF_HttpsRequest.
Values¶
| Enum | Description |
|---|---|
CF_HTTPS_RESULT_BAD_CERTIFICATE |
The server has an invalid certificate. |
CF_HTTPS_RESULT_CERTIFICATE_EXPIRED |
The server's certificate has expired. |
CF_HTTPS_RESULT_BAD_HOSTNAME |
The name of the host is invalid. |
CF_HTTPS_RESULT_CANNOT_VERIFY_CA_CHAIN |
Unable to verify the host's cert. |
CF_HTTPS_RESULT_NO_MATCHING_ENCRYPTION_ALGORITHMS |
Unable to form a secure connection. |
CF_HTTPS_RESULT_SOCKET_ERROR |
Socket on the local machine failed. |
CF_HTTPS_RESULT_FAILED |
Unknown error. |
CF_HTTPS_RESULT_PENDING |
Continue calling cf_https_process. |
CF_HTTPS_RESULT_OK |
The result has finished, you may stop calling cf_https_process, and fetch the response via cf_https_response. |
Remarks¶
Intended to be used in a loop, along with cf_https_process. See CF_HttpsRequest.