Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: iothub_client_sample_http simplesample_http temp_sensor_anomaly
Diff: iothubtransporthttp.h
- Revision:
- 18:ab990f6aa61f
- Parent:
- 17:7ef88cde801f
- Child:
- 38:01bf35934f1b
--- a/iothubtransporthttp.h Mon May 09 14:36:41 2016 -0700 +++ b/iothubtransporthttp.h Fri Jun 17 17:02:21 2016 -0700 @@ -4,7 +4,6 @@ #ifndef IOTHUBTRANSPORTHTTP_H #define IOTHUBTRANSPORTHTTP_H -#include "iothub_client_ll.h" #include "iothub_transport_ll.h" #ifdef __cplusplus @@ -12,20 +11,7 @@ { #endif - extern TRANSPORT_LL_HANDLE IoTHubTransportHttp_Create(const IOTHUBTRANSPORT_CONFIG* config); - extern void IoTHubTransportHttp_Destroy(TRANSPORT_LL_HANDLE handle); - - extern IOTHUB_DEVICE_HANDLE IoTHubTransportHttp_Register(TRANSPORT_LL_HANDLE handle, const IOTHUB_DEVICE_CONFIG* device, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle, PDLIST_ENTRY waitingToSend); - extern void IoTHubTransportHttp_Unregister(IOTHUB_DEVICE_HANDLE deviceHandle); - - extern int IoTHubTransportHttp_Subscribe(IOTHUB_DEVICE_HANDLE handle); - extern void IoTHubTransportHttp_Unsubscribe(IOTHUB_DEVICE_HANDLE handle); - - extern void IoTHubTransportHttp_DoWork(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle); - - extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_GetSendStatus(IOTHUB_DEVICE_HANDLE handle, IOTHUB_CLIENT_STATUS *iotHubClientStatus); - extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_SetOption(TRANSPORT_LL_HANDLE handle, const char* optionName, const void* value); - extern const void* HTTP_Protocol(void); + extern const TRANSPORT_PROVIDER* HTTP_Protocol(void); #ifdef __cplusplus }