YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.yxc.YxcTransport Interface Reference

The wire under YxcClient: sends a request to one device and returns the body text of the answer. More...

Inheritance diagram for de.yaacc.yxc.YxcTransport:
Inheritance graph
Collaboration diagram for de.yaacc.yxc.YxcTransport:
Collaboration graph

Public Member Functions

String get (String path) throws IOException
 
String post (String path, String jsonBody) throws IOException
 

Detailed Description

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.

Member Function Documentation

◆ post()

String de.yaacc.yxc.YxcTransport.post ( String path,
String jsonBody ) throws IOException
Parameters
jsonBodythe JSON text sent as the request body

Implemented in de.yaacc.yxc.YxcHttpTransport.


The documentation for this interface was generated from the following file: