Method: Thin::HttpParser#finish
- Defined in:
- ext/thin_parser/thin.c
#finish ⇒ Object
Finishes a parser early which could put in a “good” or bad state. You should call reset after finish it or bad things will happen.
288 289 290 291 292 293 294 295 |
# File 'ext/thin_parser/thin.c', line 288 VALUE Thin_HttpParser_finish(VALUE self) { http_parser *http = NULL; DATA_GET(self, http_parser, http); thin_http_parser_finish(http); return thin_http_parser_is_finished(http) ? Qtrue : Qfalse; } |