|
YAACC - UPNP Client and Server
|
The wire under YxcClient: sends a request to one device and returns the body text of the answer.
More...


Public Member Functions | |
| String | get (String path) throws IOException |
| String | post (String path, String jsonBody) throws IOException |
The wire under YxcClient: sends a request to one device and returns the body text of the answer.
Paths are relative to the control URL of the device (for example dist/getDistributionInfo). An answer with an HTTP status outside 200..299 is a YxcHttpStatusException.
| String de.yaacc.yxc.YxcTransport.post | ( | String | path, |
| String | jsonBody ) throws IOException |
| jsonBody | the JSON text sent as the request body |
Implemented in de.yaacc.yxc.YxcHttpTransport.