bush

Results 24 comments of bush

I believe if you pass your own HttpClient to the Translator constructor it should fix the issue. I set a user agent in the default HttpClient in the constructor. I...

```kt Translator(HttpClient(CIO) { HttpResponseValidator { // This is run for all responses validateResponse { response -> if (!response.status.isSuccess()) { throw TranslationException("Error caught from HTTP request: ${response.status}") } } // This...

the above just removes the user agent setup. I don't remember if the user agent was necessary, if it is you would have to figure out how to set the...

I can't reproduce this issue. Are you still having troubles?

I have not been very active on this library recently and I apologize in advance if I cannot fix this in a timely manner. However my first guess is that...

On a further look I don't think it's related to language string to enum parsing, likely just a change in the JSON format

I need to fix https://github.com/therealbush/translator/issues/4 at some point as well but I can probably do 1.1.1 right now.