Sha256: 76da96ff81b1d585f569b4298de24d0bbd6f881b1afb46d7f54ab5824b04e8e4

Contents?: true

Size: 873 Bytes

Versions: 3

Compression:

Stored size: 873 Bytes

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>finish (Mongrel::HttpParser)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre>/**
 * call-seq:
 *    parser.finish -&gt; true/false
 *
 * Finishes a parser early which could put in a &quot;good&quot; or bad state.
 * You should call reset after finish it or bad things will happen.
 */
VALUE HttpParser_finish(VALUE self)
{
  http_parser *http = NULL;
  DATA_GET(self, http_parser, http);
  http_parser_finish(http);

  return http_parser_is_finished(http) ? Qtrue : Qfalse;
}</pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongrel-0.3.13.4 doc/rdoc/classes/Mongrel/HttpParser.src/M000044.html
mongrel-1.0.1 doc/rdoc/classes/Mongrel/HttpParser.src/M000046.html
mongrel-1.0 doc/rdoc/classes/Mongrel/HttpParser.src/M000046.html