deniscoady / flume.ws

Source for Apache Flume which connects to a remote websocket server over plain or secure connections.
MIT License
4 stars 0 forks source link

Can we add cookies in headers while connecting with WebSockets? #1

Closed ketangoyani closed 5 years ago

ketangoyani commented 5 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

deniscoady commented 5 years ago

I'll take a look into this to see what it would take to make this work. How would you suggest these cookies be passed into the agent? Would a new configuration property work for you to pass multiple cookie names and values?

ketangoyani commented 5 years ago

I have written for cookies. which can take multiple cookies together.

deniscoady commented 5 years ago

@ketangoyani ,

I've added the capability to pass multiple cookies via the config file and have updated the README to give an example how to do so. Let me know if this works for you!