NVentimiglia / Websockets.PCL

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

How to add Header to a socket Connection #10

Open Raj123456788 opened 8 years ago

Raj123456788 commented 8 years ago

Hello, My websocket connection has a mandatory requirement of adding headers and currently there is no option in Library to add the headers. I read this issue and was wondering what would I do after adding header to IWebSocketConnection.cs?

Thank you for the reply in advance!

NVentimiglia commented 8 years ago

Its not a supported feature. Would require too much work for me right now. If you want to try to add this, I will accept pulls.

Bigshooter commented 8 years ago

Did anyone end up looking at the headers? I was looking to use bearer tokens to authorize the socket endpoint on my API.

I am going to use it without for now, @NVentimiglia if you have time to discuss the fix I will implement it.

pasn commented 7 years ago

I think this should be closed now.

When can we expect new nuget package?

rhishikeshj commented 7 years ago

@NVentimiglia @pasn Is there a document or some help on how I can use the master branch code to spit out a nuget package which I can use ? Or any help on when the next version with Header support is going to come out ?

psharrma commented 7 years ago

@NVentimiglia , Are you planning to publish new version with http header support as we have dependency upon this feature.