aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.rest/index.html
blob: c4423f4602d437fdd7b59cc28fbf8407c318b297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>pl.treksoft.kvision.rest - kvision</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">kvision</a>&nbsp;/&nbsp;<a href="./index.html">pl.treksoft.kvision.rest</a><br/>
<br/>
<h2>Package pl.treksoft.kvision.rest</h2>
<p>RESTful API client with support for type-safe connectivity.</p>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-http-method/index.html">HttpMethod</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">HttpMethod</span></code></td>
</tr>
<tr>
<td>
<p><a href="-response/index.html">Response</a></p>
</td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">Response</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span></code>
<p>A response wrapper</p>
</td>
</tr>
<tr>
<td>
<p><a href="-rest-client/index.html">RestClient</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">RestClient</span></code>
<p>An agent responsible for remote calls.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-h-t-t-p_-u-n-a-u-t-h-o-r-i-z-e-d.html">HTTP_UNAUTHORIZED</a></p>
</td>
<td>
<code><span class="keyword">const</span> <span class="keyword">val </span><span class="identifier">HTTP_UNAUTHORIZED</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code>
<p>HTTP status unauthorized (401).</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>