http_client.lua 291 B

1234567891011121314151617
  1. -- 客户端使用的http协议
  2. -- 服务端热更新使用
  3. package.loaded[PROTO_ROOT .. "proto-lib.all_http"] = nil
  4. local all_http = require(PROTO_ROOT .. "proto-lib.all_http")
  5. local c2s = all_http.c2s
  6. local s2c = all_http.s2c
  7. local root = {
  8. c2s = c2s,
  9. s2c = s2c
  10. }
  11. return root