Embedded Wireless Framework
Data Structures | Typedefs | Functions
ewf_adapter_api_http.h File Reference
#include "ewf_adapter.h"

Go to the source code of this file.

Data Structures

struct  _ewf_adapter_api_http
 

Typedefs

typedef struct _ewf_adapter_api_http ewf_adapter_api_http
 
typedef int ewf_http_socket
 

Functions

ewf_result ewf_adapter_http_open (ewf_adapter *adapter_ptr, ewf_http_socket *http_socket_ptr)
 Open an HTTP socket. More...
 
ewf_result ewf_adapter_http_close (ewf_adapter *adapter_ptr, ewf_http_socket http_socket)
 Close an HTTP socket. More...
 
ewf_result ewf_adapter_http_context_configure (ewf_adapter *adapter_ptr, ewf_http_socket http_socket, uint8_t context_id, uint8_t sprofile_id, const char *server_addr, uint16_t server_port, bool auth_type, const char *username_str, const char *password_str, bool ssl_enabled, uint32_t timeout)
 HTTP client configuration. More...
 
ewf_result ewf_adapter_http_get (ewf_adapter *adapter_ptr, ewf_http_socket http_socket, const char *uri, char **response_ptr_ptr, uint32 *response_length_ptr)
 HTTP GET request. More...
 
ewf_result ewf_adapter_http_head (ewf_adapter *adapter_ptr, ewf_http_socket http_socket, const char *uri_str, char **response_ptr_ptr, uint32 *response_length_ptr)
 HTTP HEAD request. More...
 
ewf_result ewf_adapter_http_delete (ewf_adapter *adapter_ptr, ewf_http_socket http_socket, const char *uri_str, char **response_ptr_ptr, uint32 *response_length_ptr)
 HTTP DELETE request. More...
 
ewf_result ewf_adapter_http_post (ewf_adapter *adapter_ptr, ewf_http_socket http_socket, const char *uri_str, const char *data, uint8_t content_type, char **response_ptr_ptr, uint32 *response_length_ptr)
 HTTP POST request. More...
 
ewf_result ewf_adapter_http_put (ewf_adapter *adapter_ptr, ewf_http_socket http_socket, const char *uri_str const char *data_str, uint8_t content_type, char **response_ptr_ptr, uint32 *response_length_ptr)
 HTTP PUT request. More...
 

Detailed Description

Version
Preview

The Embedded Wireless Framework HTTP/HTTPS API (Reference : RFC2616, RFC2626)