SecretSocks alternatives and similar libraries
Based on the "WebSocket" category.
Alternatively, view SecretSocks alternatives based on common mentions on social networks and blogs.
-
Swift-ActionCableClient
ActionCable is a new WebSocket server being released with Rails 5 which makes it easy to add real-time features to your app. This Swift client makes it dead-simple to connect with that server, abstracting away everything except what you need to get going. -
SwiftyTask
An extreme queuing system with high performance for managing all task in app with closure
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of SecretSocks or a related project?
README
[DEPRECATED] SecretSocks
SSL/TLS addon for Socks.
:warning: This project is now deprecated and will not receive any further maintenance.
:wrench: Usage
This package extends RawSocket
from Socks to provide a makeSecret()
method.
When called, this method initializes an SSL/TLS socket to send and receive data securely.
Installation
Swift Package Manager
.Package(url: "https://github.com/czechboy0/SecretSocks.git", majorVersion: 0, minor: 1)
You also need to install the system openssl
package, see instructions here: https://github.com/qutheory/ssl#building
Example
Since TCPInternetSocket
inherits from RawSocket
, the makeSecret()
method is available.
let address = InternetAddress(hostname: "api.spotify.com", port: 443)
let socket = try TCPInternetSocket(address: address)
try socket.connect()
let secureSocket = try socket.makeSecret()
try secureSocket.connect()
try secureSocket.send([0x00, 0x01, 0x02, ...])
let response = try secureSocket.receive(max: 2048)
:gift_heart: Contributing
Please create an issue with a description of your problem or open a pull request with a fix.
:v: License
MIT
*Note that all licence references and agreements mentioned in the SecretSocks README section above
are relevant to that project's source code only.