//logging-interceptor/okhttp3.logging/HttpLoggingInterceptor/Level/BODY
BODY¶
[jvm]\ BODY
Logs request and response lines and their respective headers and bodies (if present).
Example:
--> POST /greeting http/1.1
Host: example.com
Content-Type: plain/text
Content-Length: 3
Hi?
--> END POST
<-- 200 OK (22ms)
Content-Type: plain/text
Content-Length: 6
Hello!
<-- END HTTP
Properties¶
Name | Summary |
---|---|
name | [jvm] val name: String |
ordinal | [jvm] val ordinal: Int |