Method: Mongrel::HttpParser#finished?

Defined in:
ext/http11/http11.c

#finished?Boolean

Tells you whether the parser is finished or not and in a good state.

Returns:

  • (Boolean)


340
341
342
343
344
345
346
# File 'ext/http11/http11.c', line 340

VALUE HttpParser_is_finished(VALUE self)
{
  http_parser *http = NULL;
  DATA_GET(self, http_parser, http);

  return http_parser_is_finished(http) ? Qtrue : Qfalse;
}