Jump to content

Recommended Posts

Posted

I have a generic question which is related to the HTTP protocol (or any other protocol for that matter)

I know that HTTP is stateless.

Does this mean that it is also async ? Is there any correlation between stateless/statefull and async/sync ?

Or are they independent mechanisms ?

Thanks in advance,

Dani


Posted

Independent. You can have both types of HTTP connections, and it is really dependent on what the HTTP call is for - for example, an xmlhttp request over http can be synchronous or asynchronous, depending on how it was written. HTTP will behave as it is told to do so by the client and/or server using the protocol for communication, not to mention the encoding, keep-alive, pipelining, etc.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...