Client returns an *http.Client that makes requests that are authenticated using HTTP Basic Authentication.
()
| 1988 | // Client returns an *http.Client that makes requests that are authenticated |
| 1989 | // using HTTP Basic Authentication. |
| 1990 | func (t *BasicAuthTransport) Client() *http.Client { |
| 1991 | return &http.Client{Transport: t} |
| 1992 | } |
| 1993 | |
| 1994 | func (t *BasicAuthTransport) transport() http.RoundTripper { |
| 1995 | if t.Transport != nil { |
no outgoing calls