Method: Thin::HttpParser#error?
- Defined in:
- ext/thin_parser/thin.c
#error? ⇒ Boolean
Tells you whether the parser is in an error state.
352 353 354 355 356 357 358 |
# File 'ext/thin_parser/thin.c', line 352
VALUE Thin_HttpParser_has_error(VALUE self)
{
http_parser *http = NULL;
DATA_GET(self, http_parser, http);
return thin_http_parser_has_error(http) ? Qtrue : Qfalse;
}
|