Hi John,

this refers to "creating a custom command instead of using pipe.send"

But digging through the JS stuff on the server side I was wondering
what/who actually is handling

pipe.send = pipe.request.send?

Is this a "standard default omnipresent" function that is handled by
the server itself, without any additional code?
So, is "send" something "special" that is not handled by server side
JS, thus, it cannot really be intercepted?

Thanks for some clarification

KaroDidi
www.xosofox.de

On 19 Feb., 12:23, John Chavarria <[email protected]> wrote:
> Hi,
>
> Ape.registerHookCmd() allows you to hook an existing command (such as
> the connect command)
>
> If you want to create your own command, use Ape.registerCmd() 
> (http://www.ape-project.org/docs/server/commands/registerCmd.html)
>
> Thus, you'll be able tosendthis command from the JavaScript Client
> and catch it through registerCmd and do your MySQL savings here.
>
> Regards,
>
> On Feb 4, 5:48 pm, xaratt <[email protected]> wrote:
>
> > Hi, all.
>
> > Thanks for great application.
>
> > I want to save chat history (in DB or other storage). AFAIK I need
> > server-side module for this, but I can't find how to interceptsend
> > event _on server_.
>
> > Ape.registerHookCmd("send", function... don't work, I didn't found any
> > other working method too.
>
> > Please, help.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to