diff --git a/README.md b/README.md index 863a7fd6..560d02b8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ### Gradle ```gradle -compile 'be.zvz:KotlinInside:1.10.0' +compile 'be.zvz:KotlinInside:1.10.1' ``` ### Maven @@ -17,7 +17,7 @@ compile 'be.zvz:KotlinInside:1.10.0' be.zvz KotlinInside - 1.10.0 + 1.10.1 ``` diff --git a/build.gradle b/build.gradle index a20c4f1f..89850085 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ plugins { def libName = 'KotlinInside' def libDevVersion = '' -def libVersion = "1.10.0$libDevVersion" +def libVersion = "1.10.1$libDevVersion" def libDesc = 'Unofficial DCInside API written in Kotlin' group = 'be.zvz' diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.article/-article-write/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.article/-article-write/index.md index cbcdbe48..45ffc8ee 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.article/-article-write/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.article/-article-write/index.md @@ -3,6 +3,8 @@ title: ArticleWrite --- //[KotlinInside](../../../index.html)/[be.zvz.kotlininside.api.article](../index.html)/[ArticleWrite](index.html) + + # ArticleWrite [jvm]\ diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.article/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.article/index.md index dd3e2b57..47a0f7ae 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.article/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.article/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.article --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.article](index.html) + + # Package be.zvz.kotlininside.api.article ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.article/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.article/index.md index 756c037f..70a7bfb6 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.article/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.article/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.async.article --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.async.article](index.html) + + # Package be.zvz.kotlininside.api.async.article ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.comment/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.comment/index.md index 9da5bb96..bc3eee35 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.comment/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.comment/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.async.comment --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.async.comment](index.html) + + # Package be.zvz.kotlininside.api.async.comment ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.dccon/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.dccon/index.md index 610c7dd2..8041ca84 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.dccon/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.dccon/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.async.dccon --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.async.dccon](index.html) + + # Package be.zvz.kotlininside.api.async.dccon ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic.minigallery/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic.minigallery/index.md index 5eff8dab..26a0a918 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic.minigallery/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic.minigallery/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.async.generic.minigallery --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.async.generic.minigallery](index.html) + + # Package be.zvz.kotlininside.api.async.generic.minigallery ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic.userinfo/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic.userinfo/index.md index 8902111c..4043d1d5 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic.userinfo/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic.userinfo/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.async.generic.userinfo --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.async.generic.userinfo](index.html) + + # Package be.zvz.kotlininside.api.async.generic.userinfo ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic/index.md index a3d44a47..8b293dc1 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.generic/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.async.generic --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.async.generic](index.html) + + # Package be.zvz.kotlininside.api.async.generic ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.management/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.management/index.md index dc70faa6..50b242ce 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.async.management/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.async.management/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.async.management --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.async.management](index.html) + + # Package be.zvz.kotlininside.api.async.management ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.comment/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.comment/index.md index 17f0149b..dbe709ad 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.comment/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.comment/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.comment --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.comment](index.html) + + # Package be.zvz.kotlininside.api.comment ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/-d-c-con-detail/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/-d-c-con-detail/index.md index 71e49c26..d0adba88 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/-d-c-con-detail/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/-d-c-con-detail/index.md @@ -3,6 +3,8 @@ title: DCConDetail --- //[KotlinInside](../../../index.html)/[be.zvz.kotlininside.api.dccon](../index.html)/[DCConDetail](index.html) + + # DCConDetail [jvm]\ diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/-d-c-con-list/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/-d-c-con-list/index.md index 1a03d7a4..61beb319 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/-d-c-con-list/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/-d-c-con-list/index.md @@ -3,6 +3,8 @@ title: DCConList --- //[KotlinInside](../../../index.html)/[be.zvz.kotlininside.api.dccon](../index.html)/[DCConList](index.html) + + # DCConList [jvm]\ diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/index.md index 20d53852..82589103 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.dccon/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.dccon --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.dccon](index.html) + + # Package be.zvz.kotlininside.api.dccon ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.minigallery/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.minigallery/index.md index 8aaa439a..794d84d7 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.minigallery/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.minigallery/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.generic.minigallery --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.generic.minigallery](index.html) + + # Package be.zvz.kotlininside.api.generic.minigallery ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.userinfo/-my-gall/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.userinfo/-my-gall/index.md index 7c66ceb0..fa06c33b 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.userinfo/-my-gall/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.userinfo/-my-gall/index.md @@ -3,6 +3,8 @@ title: MyGall --- //[KotlinInside](../../../index.html)/[be.zvz.kotlininside.api.generic.userinfo](../index.html)/[MyGall](index.html) + + # MyGall [jvm]\ diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.userinfo/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.userinfo/index.md index ca93d93e..03ca7673 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.userinfo/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic.userinfo/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.generic.userinfo --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.generic.userinfo](index.html) + + # Package be.zvz.kotlininside.api.generic.userinfo ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-gallery-ranking/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-gallery-ranking/index.md index 089a2552..d379a76b 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-gallery-ranking/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-gallery-ranking/index.md @@ -3,6 +3,8 @@ title: GalleryRanking --- //[KotlinInside](../../../index.html)/[be.zvz.kotlininside.api.generic](../index.html)/[GalleryRanking](index.html) + + # GalleryRanking [jvm]\ diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-main-page/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-main-page/index.md index 503887a0..4b47a0b1 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-main-page/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-main-page/index.md @@ -3,6 +3,8 @@ title: MainPage --- //[KotlinInside](../../../index.html)/[be.zvz.kotlininside.api.generic](../index.html)/[MainPage](index.html) + + # MainPage [jvm]\ diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-minor-gallery-ranking/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-minor-gallery-ranking/index.md index e76acf5b..3a765de1 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-minor-gallery-ranking/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/-minor-gallery-ranking/index.md @@ -3,6 +3,8 @@ title: MinorGalleryRanking --- //[KotlinInside](../../../index.html)/[be.zvz.kotlininside.api.generic](../index.html)/[MinorGalleryRanking](index.html) + + # MinorGalleryRanking [jvm]\ diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/index.md index 7fcfcd69..5d32a6e3 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.generic/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.generic --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.generic](index.html) + + # Package be.zvz.kotlininside.api.generic ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.management/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.management/index.md index b151bcfe..a3e6de67 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.management/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.management/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.management --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.management](index.html) + + # Package be.zvz.kotlininside.api.management ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.type.comment/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.type.comment/index.md index 51db012b..df2a1daf 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.type.comment/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.type.comment/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.type.comment --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.type.comment](index.html) + + # Package be.zvz.kotlininside.api.type.comment ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.type.content/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.type.content/index.md index 37b91448..a8f9118e 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.type.content/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.type.content/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.type.content --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.type.content](index.html) + + # Package be.zvz.kotlininside.api.type.content ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.api.type/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.api.type/index.md index 0f9f7fbf..3495af71 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.api.type/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.api.type/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.api.type --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.api.type](index.html) + + # Package be.zvz.kotlininside.api.type ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/-base64/encode-bytes.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/-base64/encode-bytes.md index 37c26ab3..e177d835 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/-base64/encode-bytes.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/-base64/encode-bytes.md @@ -16,6 +16,8 @@ Encodes a byte array into Base64 notation. The Base64-encoded data as a String + + ## Parameters jvm diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/body.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/body.md index af95662e..b8e9acfa 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/body.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/body.md @@ -20,6 +20,7 @@ string ## Parameters + jvm | | | diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/buffered-reader.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/buffered-reader.md index 53ad1345..0092eff3 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/buffered-reader.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/buffered-reader.md @@ -16,6 +16,8 @@ Get buffered reader to response body using the given character set r and the con reader + + ## See also jvm diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/code.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/code.md index 08d961d5..fa4023f2 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/code.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/code.md @@ -11,6 +11,8 @@ open fun [code](code.html)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib Get the status code of the response + + #### Return the response code diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/date-header.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/date-header.md index 1ae87a22..31bd1b2c 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/date-header.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/date-header.md @@ -16,6 +16,8 @@ Get a date header from the response falling back to returning -1 if the header i date, -1 on failures + + ## Parameters jvm diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/delete.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/delete.md index 695e53b7..a6283973 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/delete.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/delete.md @@ -19,8 +19,11 @@ Start a 'DELETE' request to the given URL request + + ## Parameters + jvm | | | diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/form.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/form.md index 098c4b64..0ceb01ba 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/form.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/form.md @@ -21,6 +21,7 @@ this request ## Parameters + jvm | | | @@ -48,6 +49,7 @@ this request ## Parameters + jvm | | | @@ -76,6 +78,7 @@ this request ## Parameters + jvm | | | diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/get.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/get.md index 4e4230e2..8a16c414 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/get.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/get.md @@ -19,8 +19,11 @@ Start a 'GET' request to the given URL request + + ## Parameters + jvm | | | diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/head.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/head.md index defb6bec..a60e797b 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/head.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/head.md @@ -19,8 +19,11 @@ Start a 'HEAD' request to the given URL request + + ## Parameters + jvm | | | diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/int-header.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/int-header.md index 42a1a432..d38b9d93 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/int-header.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/int-header.md @@ -16,6 +16,8 @@ Get an integer header from the response falling back to returning -1 if the head header value as an integer, -1 when missing or parsing fails + + ## Parameters jvm diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/part.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/part.md index a360f89f..5b14d470 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/part.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/part.md @@ -42,6 +42,8 @@ Write part of a multipart request to the request body #### Return + + this request ## Parameters diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/post.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/post.md index 585dc386..58efde8d 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/post.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/post.md @@ -19,8 +19,11 @@ Start a 'POST' request to the given URL request + + ## Parameters + jvm | | | diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/put.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/put.md index 3ac5f292..239ef681 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/put.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/put.md @@ -19,8 +19,11 @@ Start a 'PUT' request to the given URL request + + ## Parameters + jvm | | | diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/reader.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/reader.md index e4f36c23..5bcf6b47 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/reader.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/reader.md @@ -20,6 +20,7 @@ reader ## Parameters + jvm | | | diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/receive.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/receive.md index 2f2251b7..5d20bc95 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/receive.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/receive.md @@ -16,8 +16,11 @@ Stream response body to file this request + + ## Parameters + jvm | | | @@ -40,6 +43,8 @@ Stream response to given output stream this request + + ## Parameters jvm diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/send.md b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/send.md index ddfa6c5c..0610a4bf 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/send.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.http/-http-request/send.md @@ -16,8 +16,11 @@ Write contents of file to request body this request + + ## Parameters + jvm | | | @@ -40,6 +43,8 @@ Write byte array to request body this request + + ## Parameters jvm diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.json/-json-browser/parse.md b/docs/-kotlin-inside/be.zvz.kotlininside.json/-json-browser/parse.md index d50197cf..316e5522 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.json/-json-browser/parse.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.json/-json-browser/parse.md @@ -19,6 +19,8 @@ Parse from string. JsonBrowser instance for navigating in the result + + ## Parameters jvm diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.migbase64/-base64/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.migbase64/-base64/index.md index 2ccfa081..aa5dc4a2 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.migbase64/-base64/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.migbase64/-base64/index.md @@ -22,29 +22,29 @@ resulting array. This produces less garbage and it is possible to handle arrays a temporary array. (E.g. Jakarta Commons Codec). It is unknown whether Sun's sun.misc.Encoder()/Decoder() produce temporary arrays but since performance is quite low it probably does. +The encoder produces the same output as the Sun one except that the Sun's encoder appends a trailing line separator if +the last character isn't a pad. Unclear why but it only adds to the length and is probably a side effect. Both are in +conformance with RFC 2045 though. Commons codec seem to always att a trailing line separator.**Note!** The encode/decode +method pairs (types) come in three versions with the **exact** same algorithm and thus a lot of code redundancy. This is +to not create any temporary arrays for transcoding to/from different format types. The methods not used can simply be +commented out. +There is also a "fast" version of all decode methods that works the same way as the normal ones, but har a few demands +on the decoded input. Normally though, these fast verions should be used if the source if the input is known and it +hasn't bee tampered with. - The encoder produces the same output as the Sun one except that the Sun's encoder appends a trailing line separator if the last character isn't a pad. Unclear why but it only adds to the length and is probably a side effect. Both are in conformance with RFC 2045 though. Commons codec seem to always att a trailing line separator.**Note!** The encode/decode method pairs (types) come in three versions with the **exact** same algorithm and thus a lot of code redundancy. This is to not create any temporary arrays for transcoding to/from different format types. The methods not used can simply be commented out. +If you find the code useful or you find a bug, please send me a note at base64 @ miginfocom . com. +Licence (BSD): ============== +Copyright (c) 2004, Mikael Grev, MiG InfoCom AB. (base64 @ miginfocom . com) All rights reserved. - There is also a "fast" version of all decode methods that works the same way as the normal ones, but har a few demands on the decoded input. Normally though, these fast verions should be used if the source if the input is known and it hasn't bee tampered with. - - - - If you find the code useful or you find a bug, please send me a note at base64 @ miginfocom . com. - - - - Licence (BSD): ============== - - - - Copyright (c) 2004, Mikael Grev, MiG InfoCom AB. (base64 @ miginfocom . com) All rights reserved. - - - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the MiG InfoCom AB nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the +following conditions are met: Redistributions of source code must retain the above copyright notice, this list of +conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or other materials provided with the +distribution. Neither the name of the MiG InfoCom AB nor the names of its contributors may be used to endorse or promote +products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.security/-app/-app.md b/docs/-kotlin-inside/be.zvz.kotlininside.security/-app/-app.md index 01fa6c95..a3db7223 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.security/-app/-app.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.security/-app/-app.md @@ -3,6 +3,8 @@ title: App --- //[KotlinInside](../../../index.html)/[be.zvz.kotlininside.security](../index.html)/[App](index.html)/[App](-app.html) + + # App [jvm]\ diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.security/-auth/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.security/-auth/index.md index 5d5241fe..16267284 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.security/-auth/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.security/-auth/index.md @@ -3,6 +3,8 @@ title: Auth --- //[KotlinInside](../../../index.html)/[be.zvz.kotlininside.security](../index.html)/[Auth](index.html) + + # Auth [jvm]\ diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.security/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.security/index.md index 40806588..d18ca11b 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.security/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.security/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.security --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.security](index.html) + + # Package be.zvz.kotlininside.security ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.session.user.named/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.session.user.named/index.md index c95cb1a5..71ff817e 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.session.user.named/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.session.user.named/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.session.user.named --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.session.user.named](index.html) + + # Package be.zvz.kotlininside.session.user.named ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.session.user/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.session.user/index.md index b3628c2d..ec31b16a 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.session.user/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.session.user/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.session.user --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.session.user](index.html) + + # Package be.zvz.kotlininside.session.user ## Types diff --git a/docs/-kotlin-inside/be.zvz.kotlininside.session/index.md b/docs/-kotlin-inside/be.zvz.kotlininside.session/index.md index b0f24b19..90875bcc 100644 --- a/docs/-kotlin-inside/be.zvz.kotlininside.session/index.md +++ b/docs/-kotlin-inside/be.zvz.kotlininside.session/index.md @@ -3,6 +3,8 @@ title: be.zvz.kotlininside.session --- //[KotlinInside](../../index.html)/[be.zvz.kotlininside.session](index.html) + + # Package be.zvz.kotlininside.session ## Types diff --git a/src/main/kotlin/be/zvz/kotlininside/security/Auth.kt b/src/main/kotlin/be/zvz/kotlininside/security/Auth.kt index 02aa46e5..da494007 100644 --- a/src/main/kotlin/be/zvz/kotlininside/security/Auth.kt +++ b/src/main/kotlin/be/zvz/kotlininside/security/Auth.kt @@ -26,6 +26,7 @@ class Auth { private lateinit var formattedTime: String lateinit var fcmToken: String + private set lateinit var fid: String lateinit var refreshToken: String @@ -205,9 +206,7 @@ class Auth { * @return [java.lang.String] app_id를 반환합니다. */ fun fetchAppId(hashedAppKey: String): String { - if (!::fcmToken.isInitialized) { - fcmToken = fetchFcmToken() - } + fcmToken = fetchFcmToken() val appId = try { val option = Request.getDefaultOption()