lib/async/http/protocol.rb in async-http-0.49.1 vs lib/async/http/protocol.rb in async-http-0.50.0
- old
+ new
@@ -33,13 +33,13 @@
# def server(stream) -> Connection
# end
# A connection must implement the following interface:
# class Connection
- # def multiplex -> can invoke call 1 or more times simultaneously.
+ # def concurrency -> can invoke call 1 or more times simultaneously.
# def reusable? -> can be used again/persistent connection.
- # def connected? -> Boolean
+ # def viable? -> Boolean
# def call(request) -> Response
# def each -> (yield(request) -> Response)
# end
end