| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service.transport.http |
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpRequest.setConnectTimeoutSeconds(int timeout)
Set the connect timeout, in seconds, for the request.
|
HttpRequest |
HttpRequest.setHeaderField(String field,
String value)
Sets the header field to the given value.
|
HttpRequest |
HttpRequest.setHeaders(Map<String,String> headers)
Sets the header field to the given value.
|
HttpRequest |
HttpRequest.setReadTimeoutSeconds(int timeout)
Sets the read timeout, in seconds, for the request.
|
Copyright © 2024. All rights reserved.