tls-client
tls-client copied to clipboard
[Feature Request]: C# Add / Change Cookie
Describe the feature / enhancement and how it would improve things
Hey,
I can't get it implemented myself but could you add in your example for C# how I can modify cookies that are sent? I would prefer a method to permanently change a cookie until it is set again.
Describe how your proposal will work, with code and/or pseudo-code
Like on normal HttpClient
HttpCookie cookie = Request.Cookies["testcookie"]; cookie.value = "some new cookie value";
As i'm not familiar with C# i can't relally do this. But i added examples on how to do that in python and javascript here: https://github.com/bogdanfinn/tls-client/blob/master/cffi_dist/example_node/index_cookies.js