aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-01-19 22:43:36 +0100
committerRobert Jaros <rjaros@finn.pl>2020-01-19 22:43:36 +0100
commit0b908282fcbf397f30df3d47c41cafcbf0406bce (patch)
tree01b531c0901db6ded3a6d0a4908493accd8f1b0c /src/main/kotlin/pl
parent6d9b64c308e866c7ffbbc72ae3538098a9c71d9b (diff)
downloadkvision-0b908282fcbf397f30df3d47c41cafcbf0406bce.tar.gz
kvision-0b908282fcbf397f30df3d47c41cafcbf0406bce.tar.bz2
kvision-0b908282fcbf397f30df3d47c41cafcbf0406bce.zip
Fix code comments
Diffstat (limited to 'src/main/kotlin/pl')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/rest/RestClient.kt36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/rest/RestClient.kt b/src/main/kotlin/pl/treksoft/kvision/rest/RestClient.kt
index c3753b9b..b1ab97b6 100644
--- a/src/main/kotlin/pl/treksoft/kvision/rest/RestClient.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/rest/RestClient.kt
@@ -66,7 +66,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @return a promise of the result
*/
@Suppress("UnsafeCastFromDynamic", "ComplexMethod")
@@ -87,7 +87,7 @@ open class RestClient {
* @param deserializer a deserializer for the result value
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the result
*/
@@ -120,7 +120,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @return a promise of the result
*/
fun <V : Any> remoteCall(
@@ -143,7 +143,7 @@ open class RestClient {
* @param deserializer a deserializer for the result value
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the result
*/
@@ -176,7 +176,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the result
*/
@@ -198,7 +198,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @return a promise of the result
*/
@UseExperimental(ImplicitReflectionSerializer::class)
@@ -226,7 +226,7 @@ open class RestClient {
* @param deserializer a deserializer for the result value
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the result
*/
@@ -259,7 +259,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the result
*/
@@ -291,7 +291,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the result
*/
@@ -322,7 +322,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @return a promise of the response
*/
@Suppress("UnsafeCastFromDynamic", "ComplexMethod")
@@ -367,7 +367,7 @@ open class RestClient {
* @param deserializer a deserializer for the result value
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the response
*/
@@ -402,7 +402,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @return a promise of the response
*/
fun <V : Any> remoteRequest(
@@ -425,7 +425,7 @@ open class RestClient {
* @param deserializer a deserializer for the result value
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the response
*/
@@ -466,7 +466,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the response
*/
@@ -488,7 +488,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @return a promise of the response
*/
@UseExperimental(ImplicitReflectionSerializer::class)
@@ -516,7 +516,7 @@ open class RestClient {
* @param deserializer a deserializer for the result value
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the response
*/
@@ -549,7 +549,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the response
*/
@@ -581,7 +581,7 @@ open class RestClient {
* @param data data to be sent
* @param method a HTTP method
* @param contentType a content type of the request
- * @param beforeSend a content type of the request
+ * @param beforeSend a function to set request parameters
* @param transform a function to transform the result of the call
* @return a promise of the response
*/