コード例 #1
0
 String requestHTTPSyncAsString(String request, byte[] rest_of_request) throws YAPI_Exception {
   String shortRequest = formatRequest(request);
   final byte[] bytes = _hub.devRequestSync(this, shortRequest, rest_of_request);
   return new String(bytes, YAPI.DeviceCharset);
 }
コード例 #2
0
 byte[] requestHTTPSync(String request, byte[] rest_of_request) throws YAPI_Exception {
   String shortRequest = formatRequest(request);
   return _hub.devRequestSync(this, shortRequest, rest_of_request);
 }