From 004dec2c2f44a0db510dfd65e5ffd8c9fc4ff83e Mon Sep 17 00:00:00 2001 From: zedshaw Date: Sat, 28 Jan 2006 19:03:53 +0000 Subject: initial import into trunk git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@4 19e92222-5c0b-0410-8929-a290d50e31e9 --- .../classes/Mongrel/HttpParser.src/M000002.html | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 doc/rdoc/classes/Mongrel/HttpParser.src/M000002.html (limited to 'doc/rdoc/classes/Mongrel/HttpParser.src/M000002.html') diff --git a/doc/rdoc/classes/Mongrel/HttpParser.src/M000002.html b/doc/rdoc/classes/Mongrel/HttpParser.src/M000002.html new file mode 100644 index 0000000..5ff567b --- /dev/null +++ b/doc/rdoc/classes/Mongrel/HttpParser.src/M000002.html @@ -0,0 +1,29 @@ + + + + + + reset (Mongrel::HttpParser) + + + + +
/**
+ * call-seq:
+ *    parser.reset -> nil
+ *
+ * Resets the parser to it's initial state so that you can reuse it
+ * rather than making new ones.
+ */
+VALUE HttpParser_reset(VALUE self)
+{
+  http_parser *http = NULL;
+  DATA_GET(self, http_parser, http);
+  http_parser_init(http);
+  
+  return Qnil;
+}
+ + \ No newline at end of file -- cgit v1.2.3-24-ge0c7