Add auth options to HttpProvider

This commit is contained in:
libertylocked
2017-08-01 22:18:01 -04:00
committed by Leonid Logvinov
parent 2c241c294e
commit c04cbb480a

View File

@@ -34,7 +34,7 @@ declare module 'web3' {
namespace providers {
class HttpProvider implements Web3.Provider {
constructor(url?: string);
constructor(url?: string, timeout?: number, username?: string, password?: string);
}
}