Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jan : Re: Need help using Indy

www.cryer.info
Managed Newsgroup Archive

Re: Need help using Indy

Subject:Re: Need help using Indy
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Thu, 11 Jan 2007 00:09:58

"Dave K" <davekeezer1@yahoo.com> wrote in message
news:45a5b669$1@newsgroups.borland.com...

> ICS:     THttpCli.OnDocBegin
> INDY:  TIdHTTP.OnWorkBegin  correct?

No, it is not a direct equivilent to that, although it is probably the
closest, depending on when OnDocBegin is actualy triggered.

> ICS:     THttpCli.OnDocEnd
> INDY: TIdHTTP.OnWorkEnd  correct?

No, it is not a direct equivilent to that, although it is probably the
closest, depending on when OnDocEnd is actualy triggered.

> ICS:    THttpCli.OnHeaderEnd
> INDY:  ??? Does TIdHTTP have an equivelent?

Assuming OnHeaderEnd is triggered only once when all headers have been
received, and not when each individual header is received, then the
direct equivilent is the OnHeadersAvailable event.

> ICS:    THttpCli.OnDocData
> INDY:  ??? Does TIdHTTP have an equivelent?

No.

> ICS:    THttpCli.ContentType
> INDY:  ??? Does TIdHTTP have an equivelent?

Is that a request or a response property?  Indy separates them:

    TIdHTTP.Request.ContentType
    TIdHTTP.Response.ContentType


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive