1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-29 06:23:09 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Jesse Wilson
030dbeae26 Delete unwanted whitespace.
I think the convert-to-Kotlin feature adds these
2019-05-22 21:12:55 -04:00
Jake Wharton
f2187bb6e3 Smattering of Kotlin part 2 (#5087)
* Migrate eventListenerFactory to extension function

* Inline platformTrustManager

* Migrate delimiterOffset to extension functions

Also overhaul these and other string-manipulating functions to have default arguments for start/end indices.

* Migrate hostHeader and toHeaders to extension functions
2019-05-21 21:51:18 -04:00
Jake Wharton
42a41f3857 Smattering of Kotlin stuff (#5083)
* Migrate sameConnection to extension function

* Migrate bomAwareCharset to extension function

* Migrate verifyAsIpAddress to extension function

* Migrate indexOfControlOrNonAscii to extension function

* Migrate skip(Leading/Trailing)AsciiWhitespace and trimSubstring to extension functions

* Migrate toHeaderBlock to extension function
2019-05-20 23:17:37 -04:00
Jesse Wilson
e67ec3c51e Adopt HttpUrl's new Kotlin API 2019-05-20 21:01:04 -04:00
Jake Wharton
450750c031 Eliminate Util object in favor of top-level functions 2019-05-20 18:13:30 -04:00
Yuri Schimke
f3949c23bc Spotless code formatter 2019-04-10 22:44:58 +01:00
Jesse Wilson
0ece6afccc Convert Cookie to Kotlin 2019-03-24 22:15:03 -05:00