void requestHTTPAsync(
     String request,
     byte[] rest_of_request,
     YGenericHub.RequestAsyncResult asyncResult,
     Object context)
     throws YAPI_Exception {
   String shortRequest = formatRequest(request);
   _hub.devRequestAsync(this, shortRequest, rest_of_request, asyncResult, context);
 }
 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);
 }
 byte[] requestHTTPSync(String request, byte[] rest_of_request) throws YAPI_Exception {
   String shortRequest = formatRequest(request);
   return _hub.devRequestSync(this, shortRequest, rest_of_request);
 }