Commit graph

1 commit

Author SHA1 Message Date
Felipe B.Tomaz
c9663d638f
[WIP] Protocol http/ws (#334)
* Add init files to game_update. Make resolve in HttpSession.

* HTTP async read working

* HTTP Callback on done async read

* HTTP Fix datarace on async_read. Add post method.

* HTTP custom header

* HTTP Load texture from "virtual directory"

* HTTPS Using ssl with no pem file

* WS Starting websocket connection

* WSS Add tls support to websocket

* HTTP/WS Organize initiation order [-Wreorder], Change sync to async on send message in websocket.

* HTTP/WS Using stantard functions instead of boost, change bind to lambda

* HTTP Close socket where necessary

* HTTP/WS Organize ontimeout, and add option to enable timeout on read/write

* HTTP/S Add download speed

* HTTP/S Separate update files to other branch

* HTTP/S Now post has two options, json and x-www-form-urlencoded

* HTTP/WS Now is using asio without boost. Add definition to enable websocket

* HTTP/WS Now use only asio to http/ws or over ssl

* Remove protobuf files and clear unused variables

* HTTP Handle error in .lua

* Update http login protocol to new http request

* Fix compile on linux

* Change old definetion of network

* HTTP/S Fix cloudflare ssl request

* fix compile error and cleanup

* fix compile error

* Revert changes in CMakeLists to use a vcpkg on linux

* Update README

Co-authored-by: Renato <mehahx@gmail.com>
2022-09-07 16:31:43 -03:00