mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-27 15:43:42 +08:00
Add ocspget
This commit is contained in:
@@ -21,6 +21,9 @@ extern "C" {
|
||||
int http_parse_uri(const char *uri, char host[128], int *port, char path[256]);
|
||||
int http_parse_response(char *buf, size_t buflen, uint8_t **content, size_t *contentlen, size_t *left);
|
||||
int http_get(const char *uri, uint8_t *buf, size_t *contentlen, size_t buflen);
|
||||
int http_post(const char *uri, const char *content_type,
|
||||
const uint8_t *req, size_t reqlen,
|
||||
uint8_t *buf, size_t *contentlen, size_t buflen);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user