| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service.devicetwin | |
| com.microsoft.azure.sdk.iot.service.transport.http |
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
DeviceOperations.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.
|
QueryResponse |
Query.sendQueryRequest(IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod method,
Long timeoutInMs)
Sends request for the query to the IotHub
|
| Constructor and Description |
|---|
QueryCollection(int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
long timeout)
Constructor for non-sql based queries
|
QueryCollection(String query,
int pageSize,
QueryType requestQueryType,
IotHubConnectionString iotHubConnectionString,
URL url,
HttpMethod httpMethod,
long timeout)
Constructor for sql based queries
|
| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpConnection.setRequestMethod(HttpMethod method)
Sets the request method (i.e.
|
| Constructor and Description |
|---|
HttpConnection(URL url,
HttpMethod method)
Constructor.
|
HttpRequest(URL url,
HttpMethod method,
byte[] body)
Constructor.
|
Copyright © 2017. All rights reserved.