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:
- 0:fa2b00dcd9d4
- Child:
- 3:4e9296134ffb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iothubtransporthttp.h Tue Sep 15 21:57:19 2015 -0700 @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#ifndef IOTHUBTRANSPORTHTTP_H +#define IOTHUBTRANSPORTHTTP_H + +#include "iothub_client_private.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + + extern TRANSPORT_HANDLE IoTHubTransportHttp_Create(const IOTHUBTRANSPORT_CONFIG* config); + extern void IoTHubTransportHttp_Destroy(TRANSPORT_HANDLE handle); + + extern int IoTHubTransportHttp_Subscribe(TRANSPORT_HANDLE handle); + extern void IoTHubTransportHttp_Unsubscribe(TRANSPORT_HANDLE handle); + + extern void IoTHubTransportHttp_DoWork(TRANSPORT_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle); + + extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_GetSendStatus(TRANSPORT_HANDLE handle, IOTHUB_CLIENT_STATUS *iotHubClientStatus); + extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_SetOption(TRANSPORT_HANDLE handle, const char* optionName, const void* value); + extern const void* IoTHubTransportHttp_ProvideTransportInterface(void); + +#ifdef __cplusplus +} +#endif + +#endif /*IOTHUBTRANSPORTHTTP_H*/