This class encapsulates information about a request to
load a URL, how to cache the results, and when to deal
with a slow/hung load process by timing out.
Returns the main document URL for the receiver.
Currently unused. This is intended for
use with frames and similar situations where a main
document has a large number of subsidiary
documents.
Returns the timeout interval associated with the
receiver. This is a value in seconds
specifying how long the load
process may be inactive (waiting for data to arrive
from the server) before the load is mconsidered to
have failed due to a timeout.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Sets a delegate object to override logging of low
level I/O of the request as it is sent and the
corresponding response as it arrives.
The delegate object is not retained, so it is the
responsibility of the caller to ensure that
it persists until all I/O has completed. This has
no effect unless debug is turned on, but if debug is
turned on it permits the delegate to override the
default behavior of writing the data to stderr.
Availability: Not in OpenStep/MacOS-X, Base 1.13.0
Sets whether the URL loading system should assume the
host is HTTP/3 capable. This method
configures the URL loading system's assumptions
about the server's HTTP capabilities, optimizing the
connection process if HTTP/3 is supported.
Sets the request body to be the contents of the given
stream. The stream should be unopened when
it is set, and the load process for the request will
open the stream and read its entire content forwarding
it to the remote server. Clears any value
previously set by
-setHTTPBody:
or
-setHTTPBodyStream:
Returns the currently set stream (if any) to be
used to provide data to send as the request body.
Of course, any attempt to modify this stream
may mess up the load operation in progress.
Returns a flag indicating whether this request
should use standard cookie handling (sending of
cookies with the request and storing any cookies
returned in the response.
Availability: Not in OpenStep/MacOS-X, Base 1.13.0
Indicates whether the URL loading system assumes
the host is HTTP/3 capable. This method returns the
current assumption of the URL loading system
regarding the server's HTTP capabilities.