HI,

I need some help to use Http.js.

I'm juste trying to do the example given into the file but, it does
not work.

Object
    body: 0
    headers: 0
    host: "www.google.fr"
    port: 80
    query: "/"
    response: ""
    socket: 0
    url: "http://www.google.fr";

This is the dump of my object request when i do var request = new
Http('http://www.google.fr');

I think that the connexion ( this.socket = new
Ape.sockClient(this.port, this.host, { flushlf: false });) does not
work.

Have you any idea ?
Thank you !


On 21 juin, 16:23, elie <[email protected]> wrote:
> Hello everyone,
>
> How to use the Http class ? I'm just trying to do like in example, but
> it does not work.
>
> var request = new Http('http://www.google.fr');
> request.getContent( function(result){
>    Ape.log(result);
>
> });
>
> Any log and if think that the script does not execute the code the
> getContent block.
>
> Have you an idea ? I need some 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