tomasguisasola / luasoap

LuaSOAP provides a very simple API that convert Lua tables to and from XML documents
57 stars 18 forks source link

xml/network api neutral #9

Closed denisdemais closed 8 years ago

denisdemais commented 8 years ago

Hi.

Defacto luasocket is the most used network api, but, if possible do you can be adapt to works with any API (signature/error codes / layers / aka c function pointers) - the user can be responsible to implement. In same way xml library.

i.e., lsocket -> http://tset.de/lsocket/index.html luacurl -> http://luacurl.luaforge.net/ luaposix -> https://github.com/luaposix/luaposix and many others

in same way assembley the xml soap/envelope, p. ex., implementations with support to attributes in pure lua or binding.

luasocket x.y + luasec 0.x = problematic ;)

tomasguisasola commented 8 years ago

Hi Denis

I think it is not difficult to adapt LuaSOAP to use other libraries, but now I am a bit busy :-(

I'll take a look at ghttplib but I couldn't find a bind to Lua. Do you have it?

Regards, Tomás

On 2016-02-13 02:21, Denis wrote:

Hi.

Defacto luasocket is the most used network api, but, if possible do you can be adapt to works with any API - the user can be responsible to implement. In same way xml library.

I.e., i uses ghttplib (gnome httplib) very well - a sane http library and supports ssl lua 5.x.y + luasocket x.y + luasec 0.x = problematic ;)

Reply to this email directly or view it on GitHub [1].

*

Links:

[1] https://github.com/tomasguisasola/luasoap/issues/9

denisdemais commented 8 years ago

Hi. I'm using a embed version, but, i can develop this binding.

tomasguisasola commented 8 years ago

Hi Denis

As I told you, now I can't look at this. So if you prefer, you can write a simple file to fake luasocket's http module and let LuaSOAP believe everything is there :-) This fake module would just call the function from another library.

Regards, Tomás

On 2016-02-22 12:24, Denis wrote:

Hi. I'm using a embed version, but, i can develop this binding.

Reply to this email directly or view it on GitHub [1].

*

Links:

[1] https://github.com/tomasguisasola/luasoap/issues/9#issuecomment-187228136

denisdemais commented 8 years ago

tkz