har-parser
0.4.0
common
har-parser
/
org.hildan.har
/
HarResponse
Har
Response
@
Serializable
data
class
HarResponse
(
val
status
:
Long
,
val
statusText
:
String
,
val
httpVersion
:
String
,
val
headers
:
List
<
Header
>
,
val
cookies
:
List
<
Cookie
>
,
val
content
:
HarResponse.Content
,
val
redirectURL
:
String
,
val
headersSize
:
Long
,
val
bodySize
:
Long
,
val
transferSize
:
Long
,
val
error
:
String
?
=
null
)
(
source
)
Members
Constructors
Har
Response
Link copied to clipboard
constructor
(
status
:
Long
,
statusText
:
String
,
httpVersion
:
String
,
headers
:
List
<
Header
>
,
cookies
:
List
<
Cookie
>
,
content
:
HarResponse.Content
,
redirectURL
:
String
,
headersSize
:
Long
,
bodySize
:
Long
,
transferSize
:
Long
,
error
:
String
?
=
null
)
Types
Content
Link copied to clipboard
@
Serializable
data
class
Content
(
val
size
:
Long
,
val
mimeType
:
String
,
val
compression
:
Int
?
=
null
,
val
text
:
String
?
=
null
,
val
encoding
:
String
?
=
null
)
Properties
body
Size
Link copied to clipboard
val
bodySize
:
Long
content
Link copied to clipboard
val
content
:
HarResponse.Content
cookies
Link copied to clipboard
val
cookies
:
List
<
Cookie
>
error
Link copied to clipboard
val
error
:
String
?
=
null
headers
Link copied to clipboard
val
headers
:
List
<
Header
>
headers
Size
Link copied to clipboard
val
headersSize
:
Long
http
Version
Link copied to clipboard
val
httpVersion
:
String
redirect
URL
Link copied to clipboard
val
redirectURL
:
String
status
Link copied to clipboard
val
status
:
Long
status
Text
Link copied to clipboard
val
statusText
:
String
transfer
Size
Link copied to clipboard
val
transferSize
:
Long