Skip to content

wolingzong/thrift-swift-nio-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thrift-swift-nio-test

Test Thrift Server made with Apple Swift-Nio

Developed with ThriftSwiftNio (https://github.com/JacopoMangiavacchi/thrift-swift-nio)

Instructions for installing Swift Thrift library

brew install thrift

git clone https://github.com/apocolipse/thrift.git
cd thrift
PATH="/usr/local/opt/bison/bin:$PATH" ./bootstrap.sh
PATH="/usr/local/opt/bison/bin:$PATH" ./configure --disable-debug --prefix=/usr/local/Cellar/thrift/mine --libdir=/usr/local/Cellar/thrift/mine/lib --without-ruby --disable-tests --without-php_extension --without-python --without-haskell --without-java --without-perl --without-php --without-erlang --without-boost
PATH="/usr/local/opt/bison/bin:$PATH" make && make install

/usr/local/Cellar/thrift/mine/bin/thrift --gen swift Test.thrift

Usage

Use the Swift Server sample projects in the CLIENT and SERVER folders to test both client and server Swift Thrift call

Releases

No releases published

Packages

No packages published

Languages

  • Swift 98.0%
  • Thrift 2.0%