New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically renew a token and re-request if ResponseCode `4` is being sent. #10

Zarthus opened this Issue Jan 2, 2019 · 0 comments


None yet
1 participant
Copy link

Zarthus commented Jan 2, 2019

    /// Code 4: Session Token has returned all possible questions for the specified query.
    /// Resetting the Token is necessary.
    TokenEmpty = 4,

We can handle this in send_and_parse() and request a new token, should probably be configurable as not everyone would like the additional automated HTTP request.

@Zarthus Zarthus added this to the v1.1.0 milestone Jan 2, 2019

@Zarthus Zarthus added the enhancement label Jan 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment