UploadURL returns the base URL for upload API requests.
()
| 699 | |
| 700 | // UploadURL returns the base URL for upload API requests. |
| 701 | func (c *Client) UploadURL() string { |
| 702 | if c.uploadURL == nil { |
| 703 | return "" |
| 704 | } |
| 705 | return c.uploadURL.String() |
| 706 | } |
| 707 | |
| 708 | // Clone returns a copy of the client with the same configuration and services. |
| 709 | // The returned client has its own http.Client but shares the client |