[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Q: luasocket https client?
- From: James McLaughlin <jomclaughlin@...>
- Date: Sat, 14 Feb 2009 06:24:54 -0600
>
> The function you pass to "create" returns an object that
> does all that. It starts as a table that has a field 'c', a
> field connect, and a metatable that forwards all other
> requests to 'c'. When somebody calls connect on this table, it simply calls
> connect on c, replaces c with a ssl.wrap, and
> calls dohandshake on the new c. That's it, right?
>
> []s,
> Diego
>
Ah, thats it. Many thanks. I didn't think of just replacing c...
jim