Proxy settings on aws-sdk-ios

1

Hi. I'm trying to use proxy when my ios app accesses AWS Cognito and Lambda via aws-sdk-ios(but not amplify). But I couldn't find the way of implement that. I'd like to set proxy information like URLSession.

Can anyone help?

Thanks!

1回答
0

For new projects, you should not use the AWS SDK for iOS anymore. We are focusing our efforts on a new AWS SDK for Swift (in preview).

The AWS SDK for Swift implements a custom HTTP client that bypass macOS / iOS system wide proxy settings. The solution is to provide your own HTTP Client implementation, just for the duration of your testing.

Eventually, we would like the SDK to include such client by default. You can track progress and copy/paste code sample here https://github.com/awslabs/aws-sdk-swift/issues/817

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ