Method: Thin::HttpParser#initialize
- Defined in:
- ext/thin_parser/thin.c
#new ⇒ Object
Creates a new parser.
254 255 256 257 258 259 260 261 |
# File 'ext/thin_parser/thin.c', line 254
VALUE Thin_HttpParser_init(VALUE self)
{
http_parser *http = NULL;
DATA_GET(self, http_parser, http);
thin_http_parser_init(http);
return self;
}
|