You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connects to a remote URL (accepting TLS hints in the URL query and scheme). The protocol is only attached if the connection was established.
8543
8545
8544
-
**Note**: use the `on_failed` callback if cleanup is required after a failed connection. The `on_close` callback is only called if connection was successful.
8546
+
**Note**: use the `on_failed` callback if cleanup is required after a failed connection. The protocol's `on_close` callback is only called if connection was successful.
8545
8547
8546
8548
`fio_srv_connect` adds some overhead in parsing the URL for TLS hints and for wrapping the connection protocol for timeout and connection validation before calling the `on_attached`. If these aren't required, it's possible to simply open a socket and attach it like so:
0 commit comments