![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/share/doc/gnustep-base-doc/Base/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSURLRequest documentation</title> </head> <body> <font face="serif"> <a href="Base.html">Up</a> <br /> <h1><a name="title$NSURLRequest">NSURLRequest documentation</a></h1> <h3>Authors</h3> <dl> <dt>Generated by Debian</dt> <dd> </dd> </dl> <div> <hr width="50%" align="left" /> <h3>Contents -</h3> <ol> <li> <a href="#001000000000">Software documentation for the NSMutableURLRequest class</a> </li> <li> <a href="#002000000000">Software documentation for the NSURLRequest class</a> </li> <li> <a href="#003000000000">Software documentation for the NSMutableURLRequest(NSMutableHTTPURLRequest) category</a> </li> <li> <a href="#004000000000">Software documentation for the NSURLRequest(NSHTTPURLRequest) category</a> </li> </ol> <hr width="50%" align="left" /> </div> <h1><a name="001000000000"> Software documentation for the NSMutableURLRequest class </a></h1> <h2><a name="class$NSMutableURLRequest">NSMutableURLRequest</a> : <a rel="gsdoc" href="#class$NSURLRequest">NSURLRequest</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSURLRequest.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-addValue$forHTTPHeaderField$">-addValue:forHTTPHeaderField:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setAllHTTPHeaderFields$">-setAllHTTPHeaderFields:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBody$">-setHTTPBody:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBodyStream$">-setHTTPBodyStream:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPMethod$">-setHTTPMethod:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPShouldHandleCookies$">-setHTTPShouldHandleCookies:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setValue$forHTTPHeaderField$">-setValue:forHTTPHeaderField:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest-setCachePolicy$">-setCachePolicy:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest-setMainDocumentURL$">-setMainDocumentURL:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest-setTimeoutInterval$">-setTimeoutInterval:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest-setURL$">-setURL:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSMutableURLRequest-setCachePolicy$">setCachePolicy: </a></h3> - (void) <b>setCachePolicy:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSURLRequestCachePolicy">NSURLRequestCachePolicy</a>)cachePolicy;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets the receiver's cache policy. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSMutableURLRequest-setMainDocumentURL$">setMainDocumentURL: </a></h3> - (void) <b>setMainDocumentURL:</b> (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*)URL;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets the receiver's main document. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSMutableURLRequest-setTimeoutInterval$">setTimeoutInterval: </a></h3> - (void) <b>setTimeoutInterval:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>)seconds;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets the receiver's timeout policy. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSMutableURLRequest-setURL$">setURL: </a></h3> - (void) <b>setURL:</b> (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*)URL;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets the receiver's <var>URL</var> </div> <hr width="25%" align="left" /> </div> <h1><a name="002000000000"> Software documentation for the NSURLRequest class </a></h1> <h2><a name="class$NSURLRequest">NSURLRequest</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSURLRequest.h</dd> </dl> </blockquote> <blockquote> <dl> <dt><b>Conforms to:</b></dt> <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSCoding)">NSCoding</a></dd> <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSCopying)">NSCopying</a></dd> <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSMutableCopying)">NSMutableCopying</a></dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> 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. </div> <hr width="50%" align="left" /> <a href="#_NSURLRequest_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-HTTPBody">-HTTPBody</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-HTTPBodyStream">-HTTPBodyStream</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-HTTPMethod">-HTTPMethod</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-HTTPShouldHandleCookies">-HTTPShouldHandleCookies</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-allHTTPHeaderFields">-allHTTPHeaderFields</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-valueForHTTPHeaderField$">-valueForHTTPHeaderField:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest+requestWithURL$">+requestWithURL:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest+requestWithURL$cachePolicy$timeoutInterval$">+requestWithURL:cachePolicy:timeoutInterval:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest-URL">-URL</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest-cachePolicy">-cachePolicy</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest-initWithURL$">-initWithURL:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest-initWithURL$cachePolicy$timeoutInterval$">-initWithURL:cachePolicy:timeoutInterval:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest-mainDocumentURL">-mainDocumentURL</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest-timeoutInterval">-timeoutInterval</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSURLRequest+requestWithURL$">requestWithURL: </a></h3> + (id) <b>requestWithURL:</b> (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*)URL;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest+requestWithURL$cachePolicy$timeoutInterval$">requestWithURL: cachePolicy: timeoutInterval: </a></h3> + (id) <b>requestWithURL:</b> (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*)URL<b> cachePolicy:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSURLRequestCachePolicy">NSURLRequestCachePolicy</a>)cachePolicy<b> timeoutInterval:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>)timeoutInterval;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns an autoreleased instance initialised with the specified <var>URL</var>, <var>cachePolicy</var>, and <var>timeoutInterval</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest-URL">URL </a></h3> - (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*) <b>URL</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the URL associated with the receiver. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest-cachePolicy">cachePolicy </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSURLRequestCachePolicy">NSURLRequestCachePolicy</a>) <b>cachePolicy</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the cache policy associated with the receiver. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest-initWithURL$">initWithURL: </a></h3> - (id) <b>initWithURL:</b> (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*)URL;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Initialises the reveiver with the specified <var>URL</var> and with the default cache policy (NSURLRequestUseProtocolCachePolicy) and a sixty second timeout. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest-initWithURL$cachePolicy$timeoutInterval$">initWithURL: cachePolicy: timeoutInterval: </a></h3> - (id) <b>initWithURL:</b> (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*)URL<b> cachePolicy:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSURLRequestCachePolicy">NSURLRequestCachePolicy</a>)cachePolicy<b> timeoutInterval:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>)timeoutInterval;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Initialises the receiver with the specified <var>URL</var>, <var>cachePolicy</var>, and <var>timeoutInterval</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest-mainDocumentURL">mainDocumentURL </a></h3> - (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*) <b>mainDocumentURL</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the main document URL for the receiver. <br /> Currently unused. <br /> This is intended for use with frames and similar situations where a main document has a large number of subsidiary documents. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest-timeoutInterval">timeoutInterval </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>) <b>timeoutInterval</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the timeout interval associated with the receiver. <br /> This is a value in seconds specifying how <strong>long</strong> 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. </div> <hr width="25%" align="left" /> </div> <a name="_NSURLRequest_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSURLRequest Class</h2> <h3><a name="ivariable$NSURLRequest*_NSURLRequestInternal">_NSURLRequestInternal</a></h3> @protected void* <b>_NSURLRequestInternal</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <h1><a name="003000000000"> Software documentation for the NSMutableURLRequest(NSMutableHTTPURLRequest) category </a></h1> <h2><a rel="gsdoc" href="#class$NSMutableURLRequest">NSMutableURLRequest</a>(<a name="category$NSMutableURLRequest(NSMutableHTTPURLRequest)">NSMutableHTTPURLRequest</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSURLRequest.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-addValue$forHTTPHeaderField$">-addValue:forHTTPHeaderField:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setAllHTTPHeaderFields$">-setAllHTTPHeaderFields:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBody$">-setHTTPBody:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBodyStream$">-setHTTPBodyStream:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPMethod$">-setHTTPMethod:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPShouldHandleCookies$">-setHTTPShouldHandleCookies:</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setValue$forHTTPHeaderField$">-setValue:forHTTPHeaderField:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSMutableURLRequest(NSMutableHTTPURLRequest)-addValue$forHTTPHeaderField$">addValue: forHTTPHeaderField: </a></h3> - (void) <b>addValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)value<b> forHTTPHeaderField:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)field;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Appends the <var>value</var> to the specified header <var>field</var>, automatically inserting a comman <var>field</var> delimiter if necessary. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setAllHTTPHeaderFields$">setAllHTTPHeaderFields: </a></h3> - (void) <b>setAllHTTPHeaderFields:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)headerFields;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets all the string values in the supplied <var>headerFields</var> dictionary as header values in the receiver. <br /> Non-string values are ignored. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBody$">setHTTPBody: </a></h3> - (void) <b>setHTTPBody:</b> (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*)data;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets the <var>data</var> to be sent as the body of the HTTP request. <br /> Clears any value previously set by <a rel="gsdoc" href="#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBodyStream$"> -setHTTPBodyStream: </a> or <a rel="gsdoc" href="#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBody$"> -setHTTPBody: </a> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBodyStream$">setHTTPBodyStream: </a></h3> - (void) <b>setHTTPBodyStream:</b> (<a rel="gsdoc" href="NSStream.html#class$NSInputStream">NSInputStream</a>*)inputStream;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0, Base 1.13.0</div> <br /> <div class="desc"> Sets the request body to be the contents of the given stream. <br /> 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. <br /> Clears any value previously set by <a rel="gsdoc" href="#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBody$"> -setHTTPBody: </a> or <a rel="gsdoc" href="#method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPBodyStream$"> -setHTTPBodyStream: </a> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPMethod$">setHTTPMethod: </a></h3> - (void) <b>setHTTPMethod:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)method;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets the <var>method</var> of the receiver. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setHTTPShouldHandleCookies$">setHTTPShouldHandleCookies: </a></h3> - (void) <b>setHTTPShouldHandleCookies:</b> (BOOL)should;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets a flag to say whether cookies <var>should</var> automatically be added to the request and whether cookies in the response <var>should</var> be used. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSMutableURLRequest(NSMutableHTTPURLRequest)-setValue$forHTTPHeaderField$">setValue: forHTTPHeaderField: </a></h3> - (void) <b>setValue:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)value<b> forHTTPHeaderField:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)field;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Sets the <var>value</var> for the sapecified header <var>field</var>, replacing any previously set <var>value</var>. </div> <hr width="25%" align="left" /> </div> <h1><a name="004000000000"> Software documentation for the NSURLRequest(NSHTTPURLRequest) category </a></h1> <h2><a rel="gsdoc" href="#class$NSURLRequest">NSURLRequest</a>(<a name="category$NSURLRequest(NSHTTPURLRequest)">NSHTTPURLRequest</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSURLRequest.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> HTTP specific additions to NSURLRequest </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-HTTPBody">-HTTPBody</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-HTTPBodyStream">-HTTPBodyStream</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-HTTPMethod">-HTTPMethod</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-HTTPShouldHandleCookies">-HTTPShouldHandleCookies</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-allHTTPHeaderFields">-allHTTPHeaderFields</a></li> <li><a rel="gsdoc" href="NSURLRequest.html#method$NSURLRequest(NSHTTPURLRequest)-valueForHTTPHeaderField$">-valueForHTTPHeaderField:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSURLRequest(NSHTTPURLRequest)-HTTPBody">HTTPBody </a></h3> - (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*) <b>HTTPBody</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the body of the reques... this is the data sent in a POST request. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest(NSHTTPURLRequest)-HTTPBodyStream">HTTPBodyStream </a></h3> - (<a rel="gsdoc" href="NSStream.html#class$NSInputStream">NSInputStream</a>*) <b>HTTPBodyStream</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the currently set stream (if any) to be used to provide data to send as the request body. <br /> Of course, any attempt to modify this stream may mess up the load operation in progress. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest(NSHTTPURLRequest)-HTTPMethod">HTTPMethod </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>HTTPMethod</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the HTTP method assiciated with the receiver. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest(NSHTTPURLRequest)-HTTPShouldHandleCookies">HTTPShouldHandleCookies </a></h3> - (BOOL) <b>HTTPShouldHandleCookies</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> 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. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest(NSHTTPURLRequest)-allHTTPHeaderFields">allHTTPHeaderFields </a></h3> - (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>allHTTPHeaderFields</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns a dictionary of the HTTP header fields associated with the receiver. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSURLRequest(NSHTTPURLRequest)-valueForHTTPHeaderField$">valueForHTTPHeaderField: </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>valueForHTTPHeaderField:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)field;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.2.0, Base 1.13.0</div> <br /> <div class="desc"> Returns the value for a particular HTTP header <var>field</var> (by case insensitive comparison) or <code>nil</code> if no such header is set. </div> <hr width="25%" align="left" /> </div> <br /> <a href="Base.html">Up</a> </font> </body> </html>