okClient
okClient
API
com.malliina.http
HttpClient
HttpClient
FOps
HttpMethod
HttpMethod
Delete
Get
Head
Options
Patch
Post
Put
HttpResponse
JsonError
OkClient
MultiPartFile
MultiPartFile
OkClient
OkHttpBackend
OkHttpResponse
OkHttpResponse
RawCallback
RawCallback
ResponseError
ResponseException
StatusError
okClient
/
com.malliina.http
/
OkHttpResponse
OkHttpResponse
com.malliina.http.OkHttpResponse
See the
OkHttpResponse
companion object
class
OkHttpResponse
(
val
inner
:
Response
)
extends
HttpResponse
Attributes
Companion:
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
HttpResponse
class
Object
trait
Matchable
class
Any
Clear all
Members list
Concise view
Value members
Concrete methods
def
code
:
Int
def
headers
:
Map
[
String
,
Seq
[
String
]]
Inherited methods
def
isSuccess
:
Boolean
Attributes
Inherited from:
HttpResponse
def
json
:
Either
[
ParsingFailure
,
Json
]
Attributes
Inherited from:
HttpResponse
def
parse
[
T
:
Decoder
]:
Either
[
Error
,
T
]
Attributes
Inherited from:
HttpResponse
def
status
:
Int
Attributes
Inherited from:
HttpResponse
Concrete fields
override
val
asString
:
String
Attributes
Returns:
the body as a string
val
body
:
Option
[
ResponseBody
]
val
inner
:
Response
val
string
:
Option
[
String
]