Skip to content

http/https proxy supporting - #2

Open
almuntmd wants to merge 1 commit into
karakasli:masterfrom
almuntmd:proxy-supporting
Open

http/https proxy supporting#2
almuntmd wants to merge 1 commit into
karakasli:masterfrom
almuntmd:proxy-supporting

Conversation

@almuntmd

Copy link
Copy Markdown

example of setting a http/https proxy:

        var conf = config.Config{
		AppId:               opts.AppId,
		AppSecret:           opts.AppSecret,
		AuthUrl:             opts.AuthUrl,
		PushUrl:             opts.PushUrl,
		HttpProxyUrl:        opts.HttpProxyUrl,
		HttpProxyCACertPath: opts.ProxyCACertPath,
		MaxRetryTimes:       1,
		RetryInterval:       0,
	}

	client, err := core.NewHttpClient(&conf)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants