-
Notifications
You must be signed in to change notification settings - Fork 1
sipf_client_http
Fuminori OKUHARA edited this page Mar 15, 2022
·
2 revisions
#define HTTP_PORT 80
#define HTTPS_PORT 443
#define TLS_SEC_TAG 42
#define BUFF_SZ (1024)
int SipfClientHttpSetAuthInfo(const char *user_name, const char *passwd);
char *SipfClientHttpGetAuthInfo(void);
int SipfClientHttpRunRequest(const char *hostname, struct http_request *req, uint32_t timeout, struct http_response *http_res, bool tls);
int SipfClientHttpParseURL(char *url, const int url_len, char **protocol, char **host, char **path);