facebookarchive / swift

An annotation-based Java library for creating Thrift serializable types and services.
Apache License 2.0
900 stars 297 forks source link

Add support for HTTP and unframed clients #32

Closed andrewcox closed 11 years ago

andrewcox commented 11 years ago

This is the swift part of the changes, see https://github.com/facebook/nifty/pull/21 for the nifty part.

This restores the ability to make client connections using unframed/http transports. Previously this was done by creating a client from a plain thrift TSocket and used plain thrift tranpsorts, now this is done by passing the appropriate NiftyClientChannel.Factory, and uses NiftyClient to make connections.

andrewcox commented 11 years ago

Changes in the latest 2 commits should address all current code review feedback.

andrewcox commented 11 years ago

cleaned up and pushed