IronsDu / brynet

A Header-Only cross-platform C++ TCP network library . We can use vcpkg(https://github.com/Microsoft/vcpkg/tree/master/ports/brynet) install brynet.
MIT License
1.03k stars 241 forks source link

Websocket/http over proxy #138

Open mteixeirait2x opened 1 year ago

mteixeirait2x commented 1 year ago

Is it possible use websocket/http over a proxy server?

IronsDu commented 1 year ago

you want use brynet communication with proxy server ?I never test this scene, I think it's ok.

mteixeirait2x commented 1 year ago

Hi,

Yes, I need to use brynet through a proxy server. For now I'm using cpr with curlib to solve this demand, but I prefer to use brynet , which is a much more elegant solution.

[cid:fdca1b02-99a3-441c-885f-8a067e1d09dc]


De: IronsDu @.> Enviado: quinta-feira, 15 de dezembro de 2022 23:56 Para: IronsDu/brynet @.> Cc: Manoel Teixeira | iT2x @.>; Author @.> Assunto: Re: [IronsDu/brynet] Websocket/http over proxy (Issue #138)

you want use brynet communication with proxy server ?I never test this scene, I think it's ok.

— Reply to this email directly, view it on GitHubhttps://github.com/IronsDu/brynet/issues/138#issuecomment-1354113544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4BYVHDXCUAPKJMO3XW2FTDWNPK7TANCNFSM6AAAAAAS7WPHFU. You are receiving this because you authored the thread.Message ID: @.***>

IronsDu commented 1 year ago

Because i don't now your proxy server what is . so, you can have a try. If has any problem , please tell me.

IronsDu commented 1 year ago

I think you will know proxy server's procotol, and setting those in brynet.