kean / Get

Web API client built using async/await
MIT License
943 stars 75 forks source link

Allow custom port and no HTTPS #7

Closed mbarnach closed 2 years ago

mbarnach commented 2 years ago

Useful for testing, like running a server locally on a different port, without HTTPS enable. By default, it keeps the same behaviour.

The port is optional to not set it all the time, like api.github.com:443 instead of api.github.com.

kean commented 2 years ago

Thanks!

P.S. This initializer is going to grow quickly. It probably needs a Configuration type.