We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6db71b commit edb6897Copy full SHA for edb6897
httpclient/timeouts.go
@@ -13,3 +13,7 @@ func (c *Client) ModifyHttpTimeout(newTimeout time.Duration) {
13
func (c *Client) ResetTimeout() {
14
c.http.Timeout = DefaultTimeout
15
}
16
+
17
+func (c *Client) HttpTimeout() time.Duration {
18
+ return c.http.Timeout
19
+}
0 commit comments