lib/async/http/protocol/http1/connection.rb in async-http-0.32.0 vs lib/async/http/protocol/http1/connection.rb in async-http-0.33.0
- old
+ new
@@ -16,20 +16,22 @@
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+require 'http/protocol/http1/connection'
+
require_relative 'request'
require_relative 'response'
require_relative '../../body/chunked'
require_relative '../../body/fixed'
module Async
module HTTP
module Protocol
module HTTP1
- module Connection
+ class Connection < ::HTTP::Protocol::HTTP1::Connection
CRLF = "\r\n"
attr :stream
def read_line