We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need apply user and password in some endpoints in my request.
How can I pass a user and password in this request?
The text was updated successfully, but these errors were encountered:
You can create your own Web3Provider. Have a look at https://github.com/Boilertalk/Web3.swift/blob/master/Sources/FoundationHTTP/Web3HttpProvider.swift for an example. You can pretty much copy & paste it and add the Basic Auth for URLRequest.
Web3Provider
Then you would only have to provide your own Provider to the Web3 initializer here:
https://github.com/Boilertalk/Web3.swift/blob/master/Sources/Core/Web3/Web3.swift#L52
Sorry, something went wrong.
No branches or pull requests
I need apply user and password in some endpoints in my request.
How can I pass a user and password in this request?
The text was updated successfully, but these errors were encountered: