Closed Ethan-Arrowood closed 10 months ago
A URL
object should already fit the SocketAddress
dictionary defined in the spec (URL
has port
and hostname
fields). Not sure we need to be explicit about allowing URL
.
Yeah thats right. I didn't realize that at first, but totally makes sense. No reason to specifically constrain it
Should the
connect
method work with aURL
instance as the first parameter?URL
is a web api just likeSteams
so i think its sufficient to include it