POST api/Values?hostname={hostname}&port={port}&timeout={timeout}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| hostname | string |
Required |
|
| port | integer |
Required |
|
| timeout | time interval |
Required |
Body Parameters
TcpClient| Name | Description | Type | Additional information |
|---|---|---|---|
| Client | Socket |
None. |
|
| Available | integer |
None. |
|
| Connected | boolean |
None. |
|
| ExclusiveAddressUse | boolean |
None. |
|
| ReceiveBufferSize | integer |
None. |
|
| SendBufferSize | integer |
None. |
|
| ReceiveTimeout | integer |
None. |
|
| SendTimeout | integer |
None. |
|
| LingerState | LingerOption |
None. |
|
| NoDelay | boolean |
None. |
Request Formats
application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>