Request property returns reference to the Request object, which
contains information about the request that will be sent to
the server. The Request Object holds information about
remote document location, headers that should be sent to
the server, and similar data that are needed for a request
to complete successfully. Current Request is valid only
until an actual method (such as Get, Put, Post...) is
executed. After a method is executed, the Request Object
should be cleared so new requests can be prepared.
For the HTTP/1.1 version of the HTTP protocol, both
client and servers should support 'pipelined'
request. That means that when the wodHttpDLX control is
connected to the server, another request can be issued
without reconnecting. This can be pretty useful, because
there is no time wasted in re-connecting to the server and
other Winsock internal actions. Since we're already
connected, let's issue another request. Note that the
server needs to receive a 'Connection: Keep-Alive'
header if pipelined requests are expected, which will
result in an open connection even if the wodHttpDLX control
is idle.
The wodHttpDLX control will insert above header every
time when connection to remote server is established
manually through Connect method.
If user does not issue Connect method manually, upon
execution of any HTTP specific method (Get, Put, Post...),
wodHttpDLX will automatically connect to server, issue ONLY
ONE request, and disconnect from server. Please do not
expect to issue pipelined request this way, because
unexpected results may occur.