rybalkinsd / kohttp

Kotlin DSL http client
https://kohttp.gitbook.io
Apache License 2.0
478 stars 42 forks source link

Allow to pass url() in RequestContext #85

Closed rybalkinsd closed 5 years ago

rybalkinsd commented 5 years ago

at the moment the only way to pass url to HttpGetContext (Post also) is

host = url.host
port = url.port
path = url.path
scheme = url.protocol

need to provide a clear ability to replace this declaration with

url = url

or

url { ... }

71 #77 related