lib/async/http/protocol/http10.rb in async-http-0.32.0 vs lib/async/http/protocol/http10.rb in async-http-0.33.0

- old
+ new

@@ -16,24 +16,23 @@ # 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_relative 'http10/client' -require_relative 'http10/server' +require_relative 'http1' module Async module HTTP module Protocol module HTTP10 VERSION = "HTTP/1.0" def self.client(stream) - Client.new(stream) + HTTP1::Client.new(stream, VERSION) end def self.server(stream) - Server.new(stream) + HTTP1::Server.new(stream, VERSION) end end end end end