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 réponse
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

répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions