Open nomis opened 3 years ago
There is no default_port for the ws and wss schemes.
default_port
ws
wss
If the port is omitted, it works with HTTP::URI.parse but not when making requests:
HTTP::URI.parse
irb(main):001:0> HTTP.get("ws://example") Traceback (most recent call last): 1: from (irb):1 NoMethodError (undefined method `default_port' for #<HTTP::URI:0x0056444e3e7798 URI:ws://example/>)
There is no
default_port
for thews
andwss
schemes.If the port is omitted, it works with
HTTP::URI.parse
but not when making requests: