envoy / Embassy

Super lightweight async HTTP server library in pure Swift runs in iOS / MacOS / Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do you have any plan to support HTTPS in future?

krishanudey opened this issue · comments

Hi, your library is very useful for my needs. Thanks for your awesome work.

I was just wondering if you guys have a plan to implement HTTPS support in this library.

Hi @KoderKrishanu,

Thanks, glad it's useful for you.

For HTTPS support, we want this library to be as lightweight as possible, as it's main purpose at Envoy is for UI testing API endpoint mocking. So there is no plan for HTTPS support for now.

Hi @fangpenlin

Now most apps have transitioned to HTTPS-by-default, do you have a suggested implementation for getting around App Transport Security policy errors, requiring secure connections? I've worked-around this in a proof of concept branch where I added NSExceptionAllowsInsecureHTTPLoads to localhost's domain within info.plist, but I'm not comfortable adding this in longterm to the app I'm working with.

Apologies for tagging you on an issue from nearly 2 years ago, this looks like a great project, and I'd love a way to use it going forwards.

Cheers