VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/doc/gnustep-base-doc/Base/Reference/NSURLResponse.html
<!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>NSURLResponse documentation</title>
  </head>
  <body>
    <font face="serif">
    <a href="Base.html">Up</a>
    <br />
    <h1><a name="title$NSURLResponse">NSURLResponse 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 NSHTTPURLResponse class</a>
        </li>
        <li>
          <a href="#002000000000">Software documentation for the NSURLResponse class</a>
        </li>
      </ol>
      <hr width="50%" align="left" />
    </div>

          <h1><a name="001000000000">
        Software documentation for the NSHTTPURLResponse class
      </a></h1>
    <h2><a name="class$NSHTTPURLResponse">NSHTTPURLResponse</a> : <a rel="gsdoc" href="#class$NSURLResponse">NSURLResponse</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>Foundation/NSURLResponse.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
          HTTP specific additions to an NSURLResponse
        
    </div>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSHTTPURLResponse+localizedStringForStatusCode$">+localizedStringForStatusCode:</a></li>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSHTTPURLResponse-allHeaderFields">-allHeaderFields</a></li>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSHTTPURLResponse-statusCode">-statusCode</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSHTTPURLResponse+localizedStringForStatusCode$">localizedStringForStatusCode:&nbsp;</a></h3>
    + (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>localizedStringForStatusCode:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)statusCode;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
            Returns a string representation of a status code.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSHTTPURLResponse-allHeaderFields">allHeaderFields&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>allHeaderFields</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
            Returns a dictionary containing all the HTTP header
            fields.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSHTTPURLResponse-statusCode">statusCode&nbsp;</a></h3>
    - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>statusCode</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
            Returns the HTTP status code for the response.
          
    </div>
    <hr width="25%" align="left" />
</div>

          <h1><a name="002000000000">
        Software documentation for the NSURLResponse class
      </a></h1>
    <h2><a name="class$NSURLResponse">NSURLResponse</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>Foundation/NSURLResponse.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>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
          The response to an NSURLRequest
        
    </div>
    <hr width="50%" align="left" />
    <a href="#_NSURLResponse_ivars">Instance Variables</a>
    <br/><br/>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSURLResponse-MIMEType">-MIMEType</a></li>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSURLResponse-URL">-URL</a></li>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSURLResponse-expectedContentLength">-expectedContentLength</a></li>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSURLResponse-initWithURL$MIMEType$expectedContentLength$textEncodingName$">-initWithURL:MIMEType:expectedContentLength:textEncodingName:</a></li>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSURLResponse-initWithURL$statusCode$HTTPVersion$headerFields$">-initWithURL:statusCode:HTTPVersion:headerFields:</a></li>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSURLResponse-suggestedFilename">-suggestedFilename</a></li>
      <li><a rel="gsdoc" href="NSURLResponse.html#method$NSURLResponse-textEncodingName">-textEncodingName</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSURLResponse-MIMEType">MIMEType&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>MIMEType</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
            Returns the receiver&apos;s MIME type.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSURLResponse-URL">URL&nbsp;</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</div>
<br />
    <div class="desc">
      
            Returns the receiver&apos;s URL.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSURLResponse-expectedContentLength">expectedContentLength&nbsp;</a></h3>
    - (long long) <b>expectedContentLength</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
            Returns the expected content length of the receiver
            or -1 if there is no idea of what the content length
            might be. <br /> This value is advisory, not a
            definitive length.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSURLResponse-initWithURL$MIMEType$expectedContentLength$textEncodingName$">initWithURL:&nbsp;MIMEType:&nbsp;expectedContentLength:&nbsp;textEncodingName:&nbsp;</a></h3>
    - (id) <b>initWithURL:</b> (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*)URL<b> MIMEType:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)MIMEType<b> expectedContentLength:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)length<b> textEncodingName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
            Initialises the receiver with the
            <var>URL</var>, <var>MIMEType</var>, expected
            <var>length</var> and text encoding <var>name</var>
            provided.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSURLResponse-initWithURL$statusCode$HTTPVersion$headerFields$">initWithURL:&nbsp;statusCode:&nbsp;HTTPVersion:&nbsp;headerFields:&nbsp;</a></h3>
    - (id) <b>initWithURL:</b> (<a rel="gsdoc" href="NSURL.html#class$NSURL">NSURL</a>*)URL<b> statusCode:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)statusCode<b> HTTPVersion:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)HTTPVersion<b> headerFields:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)headerFields;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.7.0</div>
<br />
    <div class="desc">
      
            Initialises the receiver with the
            <var>URL</var>, <var>statusCode</var>,
            <var>HTTPVersion</var>, and <var>headerFields</var>
            provided.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSURLResponse-suggestedFilename">suggestedFilename&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>suggestedFilename</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
            Returns a suggested file name for storing the
            response data, with suggested names being found in
            the following order: <br />
            
      <ul>
        <li>
          content-disposition header
        </li>
        <li>
          last path component of URL
        </li>
        <li>
          host name from URL
        </li>
        <li>
          &apos;unknown&apos;
        </li>
      </ul>
      
            If possible, an extension based on the MIME type of the
            response is also appended. <br /> The result
            should always be a valid file name.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSURLResponse-textEncodingName">textEncodingName&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>textEncodingName</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.0</div>
<br />
    <div class="desc">
      
            Returns the name of the character set used where
            response data is text
          
    </div>
    <hr width="25%" align="left" />
</div>
<a name="_NSURLResponse_ivars"/>    <br/><hr width="50%" align="left" />
    <h2>Instance Variables for NSURLResponse Class</h2>
    <h3><a name="ivariable$NSURLResponse*_NSURLResponseInternal">_NSURLResponseInternal</a></h3>
    @protected void* <b>_NSURLResponseInternal</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.2.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/>
    <br />
    <a href="Base.html">Up</a>
    </font>
</body>
</html>

VaKeR 2022