DeviceOperations 类
定义
Set of common operations for Twin and Method.
public class DeviceOperations
- 继承
-
java.lang.ObjectDeviceOperations
方法
request(IotHubConnectionString iotHubConnectionString, URL url, HttpMethod method, byte[] payload, String requestId, int connectTimeout, int readTimeout, Proxy proxy) |
Send a http request to the IoTHub using the Twin/Method standard, and return its response.
|
request(IotHubConnectionString iotHubConnectionString, URL url, HttpMethod method, byte[] payload, String requestId, long timeoutInMs) |
Send a http request to the IoTHub using the Twin/Method standard, and return its response.
|
setHeaders(Map<String, String> httpHeaders) |
Sets headers to be used on next HTTP request. |