tidwall / SwiftWebSocket

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

Add option to disable Origin #125

Open jfmiguel opened 6 years ago

jfmiguel commented 6 years ago

Would it be possible to add a configuration to enable / disable the Origin header? I'm doing this request because I'm connecting to a device that does not seem to support it, and when the header is present the connection is never established. I would be happy to do the changes if you are willing to accept them...