Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

HTTPHeadersCompleteCallback is gone

  • Loading branch information...
commit e0bd3e9d5921822efdeb8c2adc5a5a6bf3913a19 1 parent dda9f53
@tmm1 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  ext/ruby_http_parser/org/ruby_http_parser/RubyHttpParser.java
View
3  ext/ruby_http_parser/org/ruby_http_parser/RubyHttpParser.java
@@ -25,7 +25,6 @@
import http_parser.*;
import http_parser.lolevel.ParserSettings;
import http_parser.lolevel.HTTPCallback;
-import http_parser.lolevel.HTTPHeadersCompleteCallback;
import http_parser.lolevel.HTTPDataCallback;
public class RubyHttpParser extends RubyObject {
@@ -235,7 +234,7 @@ public int cb (http_parser.lolevel.HTTPParser p) {
}
}
};
- this.settings.on_headers_complete = new HTTPHeadersCompleteCallback() {
+ this.settings.on_headers_complete = new HTTPCallback() {
public int cb (http_parser.lolevel.HTTPParser p) {
IRubyObject ret = runtime.getNil();
Please sign in to comment.
Something went wrong with that request. Please try again.