361
361
`syntax: ok, err = wb:connect("ws://<host>:<port>/<path>")`
363
365
`syntax: ok, err = wb:connect("ws://<host>:<port>/<path>", options)`
365
369
Connects to the remote WebSocket service port and performs the websocket handshake process on the client side.
367
371
Before actually resolving the host name and connecting to the remote backend, this method will always look up the connection pool for matched idle connections created by previous calls of this method.