Re: [asio-users] [ANN] emilua-beast 1.0
Brought to you by:
chris_kohlhoff
From: Vinícius d. S. O. <vin...@gm...> - 2024-08-31 11:32:58
|
Here's what I had in mind for the client role: https://gitlab.com/emilua/beast/-/commit/4c7059cea27a65fbf302fa9a866932563a09de2f In retrospect, my previous email wasn't very clear in this part. So I decided to just commit some code to show what I had in mind. Now you can use Lua code such as the following to insert extra headers in the client handshake: ws:handshake(host, '/ws/api/v2', { origin = host }) Boost.Beast C++ API is different. Would this choice be acceptable for Lua bindings even if it deviates from the C++ API? That's what I was trying to ask. If it's okay, I can tag a new release with this code and release a new ArchLinux package. -- Vinícius dos Santos Oliveira https://vinipsmaker.github.io/ |