How do I add luasec to my lua project?

Hello apple forums,


I am not sure which subforum this would be filed under but I have put it into debugger, if anyone thinks there is a more relevant forum please feel free to advise.


I am nearing completion on an app that is used for surveys. This app is built on a lua platform called Codea (I have done this because I found it easier to use on the fly).


All the code is done, except I have hit a snag with sending https.request from my project. My project is written in lua, it supports http but it doesn't yet have support for https. The solution I see would be to add https support from luasec library, which can be found here https://github.com/brunoos/luasec. I have attempted this but found that the library consists of .c and .h code, which I am not familiar with. I cannot seem to get my lua code to talk to these libraries.


Could I please get some help?


Cheers

This question is very specific to your development environment; I think you'd be better off asking it on the Codea forums.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
How do I add luasec to my lua project?
 
 
Q