Method: Thin::HttpParser#finished?

Defined in:
ext/thin_parser/thin.c

#finished?Boolean

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

Returns:

  • (Boolean)


367
368
369
370
371
372
373
# File 'ext/thin_parser/thin.c', line 367

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

  return thin_http_parser_is_finished(http) ? Qtrue : Qfalse;
}