tidwall / SwiftWebSocket

Fast Websockets in Swift for iOS and OSX
MIT License
1.53k stars 246 forks source link

provide JSON data with socket init #52

Closed antons81 closed 8 years ago

antons81 commented 8 years ago

Hi,

Hi I could provide JSON data parameters to server with its initialization? like socket.IO framework

tidwall commented 8 years ago

Hi Anton,

You should be able to send any type of data to the server, including JSON. Though, I'm not sure what you mean by "with its initialization".

Socket.IO is a higher level protocol that runs on top of websockets and provides a more specified set of functionality.

I hope this information helps and thanks for your interest in SwiftWebSocket.