llhttp 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/llhttp/llhttp_ext.bundle +0 -0
- data/lib/llhttp/parser.rb +3 -1
- data/lib/llhttp/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 508ceb28e2bbbca713a53cc357c3292e52d73d53e7fba9cd8b16fd527fd97191
|
4
|
+
data.tar.gz: 2cb04a0416349b435ce562a89da01e30fa0efe888d9b01e81745459bc3ffbed4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9734861a3106d31292bf97f142c4e137d3dfe849c907a0ae1898eb79c404c52274f5c7418bda63740a6dd22621944eaa2fc8b870a024de8fa44b1f251474355
|
7
|
+
data.tar.gz: f505a7ab6f678e9325109acbefd4157d3f4f8cf936898378682e88e6c7f56812ce713d9f4021154c36498a692a09e5ac25cc4956f31811a75ae6514db2dbbebc
|
Binary file
|
data/lib/llhttp/parser.rb
CHANGED
@@ -9,7 +9,9 @@ module LLHttp
|
|
9
9
|
#
|
10
10
|
# = Introspection
|
11
11
|
#
|
12
|
-
# `LLHttp::Parser#
|
12
|
+
# * `LLHttp::Parser#content_length` returns the content length of the current request.
|
13
|
+
# * `LLHttp::Parser#method` returns the method of the current response.
|
14
|
+
# * `LLHttp::Parser#keep_alive?` returns `true` if there might be any other messages following the last that was successfuly parsed.
|
13
15
|
#
|
14
16
|
class Parser
|
15
17
|
LLHTTP_TYPES = {both: 0, request: 1, response: 2}.freeze
|
data/lib/llhttp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: llhttp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Powell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby bindings for llhttp.
|
14
14
|
email: bryan@bryanp.org
|
@@ -27,7 +27,7 @@ files:
|
|
27
27
|
- lib/llhttp/llhttp_ext.bundle
|
28
28
|
- lib/llhttp/parser.rb
|
29
29
|
- lib/llhttp/version.rb
|
30
|
-
homepage: https://
|
30
|
+
homepage: https://github.com/metabahn/llhttp/
|
31
31
|
licenses:
|
32
32
|
- MIT
|
33
33
|
metadata: {}
|