apocolipse/Thrift-Swift

Swift-Nio lightweight HTTPServer implementation

Opened this issue · 2 comments

I've create a lightweight HTTPServer support using Swift-Nio.

Source code here: https://github.com/JacopoMangiavacchi/thrift-swift-nio

I've only implemented HTTP transport but it's very easy to extend to Raw Socket too.

If you're interested I can open a Pull Request adding these few classes to this repo.

Best,
-Jacopo

Hey @JacopoMangiavacchi Thanks a lot! That looks awesome. So the standard Thrift practice so far is to only include in the Thrift library servers that are in the given languages' standard library, servers requiring external 3rd party libraries can be created as Thrift Servers but should be kept separate. If you'll note I have the TPerfectServer and TZewoServer separate for that purpose. I'd love for you to add a note to the README however so we can have a default listing of what Servers are available until we get some standard library servers in Swift (which should be soon I hope!)

Sure thing @apocolipse I'll add this to the readme