-
Notifications
You must be signed in to change notification settings - Fork 423
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
feat: add new constructor to ValidationClient #640
feat: add new constructor to ValidationClient #640
Conversation
The new constructor accepts a RequestConfig parameter. This allows developers to explicitly configure HTTP request behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also have an example here? Thank you!
.setConnectTimeout(CONNECTION_TIMEOUT) | ||
.setSocketTimeout(SOCKET_TIMEOUT) | ||
.build(); | ||
this(accountSid, credentialSid, signingKey, privateKey, DEFAULT_REQUEST_CONFIG); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please have a test, likely here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a new unit test: ValidationClientTest.java
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we have an issue with the new dependency. Could you please take a look? Thank you!
The new constructor accepts a RequestConfig parameter.
This allows developers to explicitly configure
HTTP request behavior.
Fixes
A short description of what this PR does.
Checklist
If you have questions, please file a support ticket, or create a GitHub Issue in this repository.