NVentimiglia / Websockets.PCL

C# Websockets for all platforms using native bridges
MIT License
98 stars 36 forks source link

HTTP headers support added #20

Closed pasn closed 7 years ago

pasn commented 7 years ago

Fixes issue #10

I needed to add more headers than only the "Authorization" one and this commit enabled us to do so. We've tested that on Android and iOS, changes on other platforms are very similar and should also work. New Open() overload was added not to break the compatibility with previous version. However, this version is not published in nuget, so feel free to remove old Open() function.

As WP8 version was throwing an exception, it is left as it was. I would consider uncommenting it.