robin
09/05/2018, 3:12 PMhttpClient.head(url)
, just like httpClient.get(url)
doesDeactivated User
09/05/2018, 3:23 PMcall
, and `request`: https://ktor.io/clients/http-client/calls/requests.html#custom-requests
and set the method = HttpMethod.YourMethod
Deactivated User
09/05/2018, 3:24 PMDeactivated User
09/05/2018, 3:24 PMDeactivated User
09/05/2018, 3:24 PMr4zzz4k
09/05/2018, 3:25 PM.put
and .delete
there, but no head and options shortlands. Was just printing the answer with this link ๐
https://github.com/ktorio/ktor/blob/a65667a6f0ca98128c38025f989bad7cb6da4576/ktor-client/ktor-client-core/src/io/ktor/client/request/builders.kt#L65Deactivated User
09/05/2018, 3:25 PMrobin
09/05/2018, 3:27 PMDeactivated User
09/05/2018, 3:30 PMe5l
09/05/2018, 3:32 PMhead
and options
methods has specific semantic in http and I consider to hide them from the simple builders.e5l
09/05/2018, 3:33 PMHttpMethod
in call
and request
methods.Deactivated User
09/05/2018, 3:36 PM