Dispatches an inbound socket to the net.Server listening on the port it arrived on, resolving when the connection has closed. The direct form of connectHandler(), for use inside a connect() handler, such as a Durable Object's.
net.Server
connectHandler()
connect()
Optional
Dispatches an inbound socket to the
net.Serverlistening on the port it arrived on, resolving when the connection has closed. The direct form ofconnectHandler(), for use inside aconnect()handler, such as a Durable Object's.