--- a/eric7/Documentation/Source/eric7.Plugins.UiExtensionPlugins.Translator.TranslatorRequest.html Sun Jun 12 16:05:27 2022 +0200 +++ b/eric7/Documentation/Source/eric7.Plugins.UiExtensionPlugins.Translator.TranslatorRequest.html Mon Jun 13 16:39:53 2022 +0200 @@ -84,9 +84,9 @@ </p> <dl> -<dt><i>parent</i></dt> +<dt><i>parent</i> (QObject)</dt> <dd> -reference to the parent object (QObject) +reference to the parent object </dd> </dl> <a NAME="TranslatorRequest.get" ID="TranslatorRequest.get"></a> @@ -98,20 +98,26 @@ </p> <dl> -<dt><i>requestUrl</i></dt> +<dt><i>requestUrl</i> (QUrl)</dt> <dd> -URL of the request (QUrl) +URL of the request </dd> -<dt><i>extraHeaders</i></dt> +<dt><i>extraHeaders</i> (tuple of (bytes, bytes))</dt> <dd> list of tuples of additional headers giving - header name (string) and header value (string) + header name and header value </dd> </dl> <dl> <dt>Return:</dt> <dd> -server response (QByteArray) or error message (string) +server response or an error message and a success flag +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (QByteArray or str, bool) </dd> </dl> <a NAME="TranslatorRequest.post" ID="TranslatorRequest.post"></a> @@ -123,22 +129,22 @@ </p> <dl> -<dt><i>requestUrl</i></dt> +<dt><i>requestUrl</i> (QUrl)</dt> <dd> -URL of the request (QUrl) +URL of the request </dd> -<dt><i>requestData</i></dt> +<dt><i>requestData</i> (QByteArray)</dt> <dd> -data of the request (QByteArray) +data of the request </dd> -<dt><i>dataType</i></dt> +<dt><i>dataType</i> (str)</dt> <dd> -type of the request data (string) +type of the request data </dd> -<dt><i>extraHeaders</i></dt> +<dt><i>extraHeaders</i> (list of tuple of (bytes, bytes))</dt> <dd> list of tuples of additional headers giving - header name (string) and header value (string) + header name and header value </dd> </dl> <dl> @@ -148,6 +154,12 @@ success (boolean) </dd> </dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (str, bool) +</dd> +</dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file