{"id":15651067,"url":"https://github.com/macournoyer/ruby_http_parser","last_synced_at":"2025-04-16T01:23:25.351Z","repository":{"id":56893520,"uuid":"442485","full_name":"macournoyer/ruby_http_parser","owner":"macournoyer","description":"Ruby bindings to Ryan Dahl's http-parser","archived":false,"fork":false,"pushed_at":"2010-10-28T15:12:49.000Z","size":112,"stargazers_count":35,"open_issues_count":0,"forks_count":49,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T12:43:13.941Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macournoyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-12-19T03:22:14.000Z","updated_at":"2024-12-27T22:04:23.000Z","dependencies_parsed_at":"2022-08-21T01:20:18.286Z","dependency_job_id":null,"html_url":"https://github.com/macournoyer/ruby_http_parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macournoyer%2Fruby_http_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macournoyer%2Fruby_http_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macournoyer%2Fruby_http_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macournoyer%2Fruby_http_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macournoyer","download_url":"https://codeload.github.com/macournoyer/ruby_http_parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249179671,"owners_count":21225583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T12:36:51.226Z","updated_at":"2025-04-16T01:23:25.310Z","avatar_url":"https://github.com/macournoyer.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## UNMAINTAINED!\n\nI don't work on this anymore. See this awesome fork instead: http://github.com/tmm1/http_parser.rb/\n\nAnd have a nice day, please!\n\n# Ruby bindings to Ryan Dahl's http-parser\n\nRuby bindings to http://github.com/ry/http-parser\n\n## Usage\n\n    require \"net/http/parser\"\n    \n    parser = Net::HTTP::RequestParser.new\n    \n    parser.on_headers_complete = proc do |env|\n      # Rack formatted env hash\n      p env\n    end\n    \n    parser.on_body = proc do |chunk|\n      # One chunk of the body\n      p chunk\n    end\n    \n    parser.on_message_complete = proc do |env|\n      # Headers and body is all parsed\n      puts \"Done!\"\n    end\n    \n    # Feed raw data from the socket to the parser\n    parser \u003c\u003c raw_data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacournoyer%2Fruby_http_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacournoyer%2Fruby_http_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacournoyer%2Fruby_http_parser/lists"}