Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ConnectWSWithRoutePath (0.16 sec)

  1. internal/grid/grid.go

    // The net.Conn must support all features as described by the net.Conn interface.
    type ConnDialer func(ctx context.Context, address string) (net.Conn, error)
    
    // ConnectWSWithRoutePath is like ConnectWS but with a custom grid route path.
    func ConnectWSWithRoutePath(dial ContextDialer, auth AuthFn, tls *tls.Config, routePath string) func(ctx context.Context, remote string) (net.Conn, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. cmd/grid.go

    		// Pass Dialer for websocket grid, make sure we do not
    		// provide any DriveOPTimeout() function, as that is not
    		// useful over persistent connections.
    		Dialer: grid.ConnectWSWithRoutePath(
    			grid.ContextDialer(xhttp.DialContextWithLookupHost(lookupHost, xhttp.NewInternodeDialContext(rest.DefaultTimeout, globalTCPOptions.ForWebsocket()))),
    			newCachedAuthToken(),
    			&tls.Config{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top